drivers/target/target_core_transport.c breakage on i386

From: Al Viro
Date: Sun Aug 07 2011 - 20:11:23 EST


In commit ec98f7825c6eaa4a9afb0eb518826efc8a2ed4a2
Author: Andy Grover <agrover@xxxxxxxxxx>
Date: Wed Jul 20 19:28:46 2011 +0000

target: Eliminate usage of struct se_mem

we got
+ task_count = DIV_ROUND_UP(sectors, dev_max_sectors);
and that's sector_t/sector_t. 64bit division on i386 is no-no in
the kernel - it emits __udivdi3 call and it's not there. Can
sectors really reach 2^32 here?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/