From: Nicholas Mc Guire
Date: Sat, 23 May 2015 14:46:30 +0200
> API compliance scanning with coccinelle flagged:
>
> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
> is not a clean solution as it does not handle all corner cases correctly.
> By changing the conversion to
API compliance scanning with coccinelle flagged:
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
is not a clean solution as it does not handle all corner cases correctly.
By changing the conversion to use msecs_to_jiffies(val) conversion is
correct in all cases.
in the curr
From: Joe Perches
Date: Tue, 19 May 2015 07:32:15 -0700
> On Tue, 2015-05-19 at 12:51 +0200, Nicholas Mc Guire wrote:
>> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
>> is not a clean solution as it does not handle all corner cases correctly.
>> By changing the conversio