lkml.org 
[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] et131x: use msecs_to_jiffies for conversions
From
From: Nicholas Mc Guire <hofrat@osadl.org>
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 <hofrat@osadl.org>

Applied, thanks.


\
 
 \ /
  Last update: 2015-02-12 04:41    [W:0.072 / U:4.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site