[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150211.193809.875269045307730921.davem@davemloft.net>
Date: Wed, 11 Feb 2015 19:38:09 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hofrat@...dl.org
Cc: mark.einon@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] et131x: use msecs_to_jiffies for conversions
From: Nicholas Mc Guire <hofrat@...dl.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@...dl.org>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists