Re: [PATCH] scsi: use sector_div instead of do_div
From: Martin K. Petersen
Date: Wed Nov 25 2015 - 22:29:54 EST
>>>>> "Arnd" == Arnd Bergmann <arnd@xxxxxxxx> 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
--
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/