Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754990AbbBLDbM (ORCPT ); Wed, 11 Feb 2015 22:31:12 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:54428 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754693AbbBLDbL (ORCPT ); Wed, 11 Feb 2015 22:31:11 -0500 Date: Wed, 11 Feb 2015 19:38:09 -0800 (PST) Message-Id: <20150211.193809.875269045307730921.davem@davemloft.net> To: hofrat@osadl.org Cc: mark.einon@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] et131x: use msecs_to_jiffies for conversions From: David Miller In-Reply-To: <1423646874-24403-1-git-send-email-hofrat@osadl.org> References: <1423646874-24403-1-git-send-email-hofrat@osadl.org> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Feb 2015 19:31:10 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 16 From: Nicholas Mc Guire 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 Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/