Re: [PATCH] crypto: axis - hide an unused variable

2017-09-22 Thread Herbert Xu
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.

[PATCH] crypto: axis - hide an unused variable

2017-09-06 Thread Arnd Bergmann
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

Re: [PATCH] crypto: axis - hide an unused variable

2017-08-26 Thread Lars Persson
> 25 aug. 2017 kl. 01:20 skrev Arnd Bergmann : > > 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

[PATCH] crypto: axis - hide an unused variable

2017-08-24 Thread Arnd Bergmann
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