On Tue, Apr 12, 2016 at 9:01 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > On Tue, Apr 12, 2016 at 05:58:20PM +0300, Andy Shevchenko wrote: >> On Tue, Apr 12, 2016 at 4:39 PM, Sudip Mukherjee >> <sudipm.mukherjee@xxxxxxxxx> wrote: >> > On Tuesday 12 April 2016 06:36 PM, Guenter Roeck wrote: >> >> > Sorry, I am missing something. do_div() should work fine with any 32 bit value > as divisor, no matter what that value is. Why does it fail here ? And why does > it work if I pass 0x1fffff as second parameter to do_div() directly ? Perhaps compare assembly code in both cases? -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe kernel-testers" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html