Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350AbbBKSRQ (ORCPT ); Wed, 11 Feb 2015 13:17:16 -0500 Received: from [81.174.139.2] ([81.174.139.2]:43093 "EHLO mail.einon.net" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751782AbbBKSRP (ORCPT ); Wed, 11 Feb 2015 13:17:15 -0500 X-Greylist: delayed 367 seconds by postgrey-1.27 at vger.kernel.org; Wed, 11 Feb 2015 13:17:15 EST Date: Wed, 11 Feb 2015 18:11:03 +0000 From: Mark Einon To: Nicholas Mc Guire Cc: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] et131x: use msecs_to_jiffies for conversions Message-ID: <20150211181103.GA19406@msilap.einon.net> References: <1423646874-24403-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423646874-24403-1-git-send-email-hofrat@osadl.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 14 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 Acked-by: Mark Einon -- 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/