From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753527AbbJGK1c (ORCPT ); Wed, 7 Oct 2015 06:27:32 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:48051 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986AbbJGK1a (ORCPT ); Wed, 7 Oct 2015 06:27:30 -0400 Date: Wed, 7 Oct 2015 11:24:07 +0100 From: Mark Brown To: Arnd Bergmann Cc: Liam Girdwood , linux-kernel@vger.kernel.org, Sascha Hauer Message-ID: <20151007102407.GF12635@sirena.org.uk> References: <6130994.OMIWUN9F6x@wuerfel> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Mfj4UzsZ9EA9tSs4" Content-Disposition: inline In-Reply-To: <6130994.OMIWUN9F6x@wuerfel> X-Cookie: Walk softly and carry a megawatt laser. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 89.101.192.72 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regulator: core: mark lock functions as __maybe_unused 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 --Mfj4UzsZ9EA9tSs4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 07, 2015 at 12:12:09PM +0200, Arnd Bergmann wrote: > The best way to avoid these would be to add the code that will > use these functions. If that still takes a while, this patch > at least shuts up the compiler by marking the functions > as __maybe_unused. The same could be achieved by marking them > as static inline or non-static, or by hiding them from the > compiler, but those seemed less appropriate. That code is still in review, it's not looking too hard to get merged. --Mfj4UzsZ9EA9tSs4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWFPLGAAoJECTWi3JdVIfQrAoH/0yjfUUr124qH1PbiQGwzeKA I+zPmLGXw7qrqq3dYl8aFDGn0OLekhOAVa1C96SysR1+39zBRes77g9JhmvCgj3U eZ5y3o5H5QneG2ykioorcqyIf8GLZWmyZnkwF+yq+Q3o7p2tuX524qj2HsSUQUKB gp7BujOmB0XHPu+I4zwUJSAw6sF2rIFchdYnENxabdIFF0f5A0XiA0dvF6e4IL1B 2WBZk9GKIukQ/GdlaedOaYkg6knt5ZJ1K0/QQlO8XxQX6iB863rYGI5C5O9Jjcn4 jjZ5gZ8rUTLJ0SRdvcKq9uWegpa03+9Z+w9QTtiYew9uefm6r8qwOFO84ZwdIUo= =NG0q -----END PGP SIGNATURE----- --Mfj4UzsZ9EA9tSs4--