Re: [PATCH v2] crypto: hide unused label

2016-08-31 Thread Herbert Xu
On Mon, Aug 29, 2016 at 02:40:43PM +0200, Arnd Bergmann wrote: > A recent change left an existing label unused in some configurations, > as seen from a gcc warning: > > crypto/xor.c: In function 'calibrate_xor_blocks': > crypto/xor.c:156:1: error: label 'out' defined but not used > [-Werror=unuse

Re: [PATCH v2] crypto: hide unused label

2016-08-31 Thread Arnd Bergmann
On Wednesday, August 31, 2016 10:37:52 PM CEST Herbert Xu wrote: > On Mon, Aug 29, 2016 at 02:40:43PM +0200, Arnd Bergmann wrote: > > A recent change left an existing label unused in some configurations, > > as seen from a gcc warning: > > > > crypto/xor.c: In function 'calibrate_xor_blocks': > >

[PATCH v2] crypto: hide unused label

2016-08-29 Thread Arnd Bergmann
A recent change left an existing label unused in some configurations, as seen from a gcc warning: crypto/xor.c: In function 'calibrate_xor_blocks': crypto/xor.c:156:1: error: label 'out' defined but not used [-Werror=unused-label] This adds an #ifdef around it to match the one around the respect