Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbbBKCPV (ORCPT ); Tue, 10 Feb 2015 21:15:21 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:59332 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbbBKCPU (ORCPT ); Tue, 10 Feb 2015 21:15:20 -0500 Date: Wed, 11 Feb 2015 10:14:33 +0800 From: Mark Brown To: Nicholas Mc Guire Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150211021433.GN2593@finisterre.sirena.org.uk> References: <1423408265-23116-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N/GrjenRD+RJfyz+" Content-Disposition: inline In-Reply-To: <1423408265-23116-1-git-send-email-hofrat@osadl.org> X-Cookie: What is the sound of one hand clapping? User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 210.177.145.249 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] spi: bcm53xx: use msecs_to_jiffies for conversion X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 Lines: 35 --N/GrjenRD+RJfyz+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 08, 2015 at 10:11:05AM -0500, Nicholas Mc Guire wrote: > 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.=20 Applied, thanks. --N/GrjenRD+RJfyz+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU2rsIAAoJECTWi3JdVIfQeGcH/1m5bH4tlpsOhKf7twLeebw3 qva6jf/iqixtQ2bqXOvj+wzBZWmTbOIyexTsv0LEp30klbmNkGQQgrIA/AMFQVeB uOP45gAv0rltnV4lLNN/sdxkLZXVdjJZXTSEUPbQn2kGeg97eLP/TLCbbWL0Cog9 pVEWP8AmksRiyxpfXYbafLv8sgrPsnS4HJohQXtZC3pWQL5ZEO5VBQaaIMKB1c18 +q1exPzeRscDPcX67gaimwuY9MXEscMd2GqiDwDWCeTEaeI3NlFwEvKlvOyJ8YWN /ugY0YH8v4R8tZh6hkTkOFv2jx4PM0lIuugwmIVfkkB0gegV2XB0KVSE7iKx90Q= =wC0q -----END PGP SIGNATURE----- --N/GrjenRD+RJfyz+-- -- 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/