Thread (3 messages) 3 messages, 3 authors, 2015-02-12

Re: [PATCH] et131x: use msecs_to_jiffies for conversions

flat view

From: David Miller <davem@davemloft.net>
Date: 2015-02-12 03:31:12
Also in: lkml

From: Nicholas Mc Guire <redacted>
Date: Wed, 11 Feb 2015 04:27:54 -0500
This is only an API consolidation and should make things more readable.
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
OK but msecs_to_jiffies(val) is the cleaner solution and handles all
corner cases correctly. This is a minor API cleanup only.

Signed-off-by: Nicholas Mc Guire <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help