[PATCH] scsi: use sector_div instead of do_div

Martin K. Petersen martin.petersen at oracle.com
Wed Nov 25 19:28:34 PST 2015


>>>>> "Arnd" == Arnd Bergmann <arnd at arndb.de> writes:

Arnd> do_div is the wrong way to divide a sector_t, as it is less
Arnd> efficient when sector_t is 32-bit wide. With the upcoming do_div
Arnd> optimizations, the kernel starts warning about this:

Applied.

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the linux-arm-kernel mailing list