From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751757AbbKJIhA (ORCPT ); Tue, 10 Nov 2015 03:37:00 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:53798 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbbKJIg6 (ORCPT ); Tue, 10 Nov 2015 03:36:58 -0500 Date: Tue, 10 Nov 2015 08:36:44 +0000 From: Mark Brown To: Frank Rowand Cc: Liam Girdwood , Sascha Hauer , Linux Kernel list Message-ID: <20151110083644.GA12392@sirena.org.uk> References: <564162CC.5080609@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <564162CC.5080609@gmail.com> X-Cookie: We have DIFFERENT amounts of HAIR -- User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: regulator: build warning in regulator_lock_supply() 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 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 09, 2015 at 07:21:48PM -0800, Frank Rowand wrote: > In the current Linus tree, new build warning. > When CONFIG_DEBUG_LOCK_ALLOC is not enabled, > drivers/regulator/core.c: In function 'regulator_lock_supply': > drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable] > Introduced by commit > 9f01cd4a915e1 ("regulator: core: introduce function to lock regulators and its supplies") There was dome discussion about fixing the lockdep code so this doesn't happen (since it's perfectly natural code). I didn't follow where that went, there was a distraction about the user being buggy which was addressed. --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWQayVAAoJECTWi3JdVIfQcYIH/RFK32cAlfAGtNpVwhCimAf7 nLvnNlV7Hznp2mB5v+W3jEYLcy3XhFZKCFFYQYAnJnIadvwFFabwqlO57XNC15ow MpBrSuoIoyrg0BC9riiiv/bAS4STzsXmMtOVAutxJd/ra4bJ7VOUq/+xad1O8kqw czv3hdpPnlj6Zwcd2aGjVL5lLn14Nkdo2bIBk6sLT7gbDh6wlhbnmSA7gPCsFNHW uhZ0AjOGpSDt6ESOj0Z81rAO2GGaDo5aGJaLBtsaEbUYhS+dOMRKKF4ph+4LL8aM 1bXrUvUrIR/q2dqHGRuYl0Q51BMmkwd8pxFl8GUAKsaqxDNptMEp2KORfgg9tIY= =zxl0 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--