Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752275AbdIVKOy (ORCPT ); Fri, 22 Sep 2017 06:14:54 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38758 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752247AbdIVKOv (ORCPT ); Fri, 22 Sep 2017 06:14:51 -0400 Date: Fri, 22 Sep 2017 18:14:21 +0800 From: Herbert Xu To: Arnd Bergmann Cc: Jesper Nilsson , Lars Persson , Niklas Cassel , "David S. Miller" , linux-arm-kernel@axis.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: axis - hide an unused variable Message-ID: <20170922101420.GJ16270@gondor.apana.org.au> References: <20170824222016.731342-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170824222016.731342-1-arnd@arndb.de> 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: 608 Lines: 15 On Fri, Aug 25, 2017 at 12:19:54AM +0200, Arnd Bergmann wrote: > Without CONFIG_DEBUG_FS, we get a harmless warning: > > drivers/crypto/axis/artpec6_crypto.c:352:23: error: 'dbgfs_root' defined but not used [-Werror=unused-variable] > > This moves it into the #ifdef that hides the only user. > > Fixes: a21eb94fc4d3 ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver") > Signed-off-by: Arnd Bergmann Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt