Messages in this thread | | | Subject | Re: [PATCH 3/4] scsi: fix compiler warning for sg | From | Sinan Kaya <> | Date | Thu, 5 Nov 2015 15:16:26 -0500 |
| |
On 11/5/2015 2:56 PM, Andy Shevchenko wrote: > One more look to the users of MULDIV. > > They all seems 32 bit for x. > It means you don't need two do_div()s at all. > > Just do something like: > > u64 d = x * numer; > do_div(d, denom); > return d;
OK. I assume you want a change only in this file.
-- Sinan Kaya Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
| |