Re: [PATCH] block: Do not call sector_div() with a 64-bit divisor

2013-11-04 Thread Jens Axboe
On 11/04/2013 06:00 AM, Geert Uytterhoeven wrote: > do_div() (called by sector_div() if CONFIG_LBDAF=y) is meant for divisions > of 64-bit number by 32-bit numbers. Passing 64-bit divisor types caused > issues in the past on 32-bit platforms, cfr. commit > ea077b1b96e073eac5c3c5590529e964767fc5f7

[PATCH] block: Do not call sector_div() with a 64-bit divisor

2013-11-04 Thread Geert Uytterhoeven
do_div() (called by sector_div() if CONFIG_LBDAF=y) is meant for divisions of 64-bit number by 32-bit numbers. Passing 64-bit divisor types caused issues in the past on 32-bit platforms, cfr. commit ea077b1b96e073eac5c3c5590529e964767fc5f7 ("m68k: Truncate base in do_div()"). As queue_limits.max_