Re: [PATCH] irda: irda-usb: use msecs_to_jiffies for conversions

2015-05-25 Thread David Miller
From: Nicholas Mc Guire hof...@osadl.org 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

[PATCH] irda: irda-usb: use msecs_to_jiffies for conversions

2015-05-23 Thread Nicholas Mc Guire
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

Re: [PATCH] irda: irda-usb: use msecs_to_jiffies for conversions

2015-05-19 Thread David Miller
From: Joe Perches j...@perches.com 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