[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150211181103.GA19406@msilap.einon.net>
Date: Wed, 11 Feb 2015 18:11:03 +0000
From: Mark Einon <mark.einon@...il.com>
To: Nicholas Mc Guire <hofrat@...dl.org>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] et131x: use msecs_to_jiffies for conversions
On Wed, Feb 11, 2015 at 04:27:54AM -0500, Nicholas Mc Guire wrote:
> 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>
Acked-by: Mark Einon <mark.einon@...il.com>
--
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