Re: [PATCH] lockd: avoid warning when CONFIG_SYSCTL undefined

2014-05-04 Thread J. Bruce Fields
On Thu, May 01, 2014 at 02:15:02PM -0700, Kees Cook wrote: > When building without CONFIG_SYSCTL, the compiler saw an unused > label. This moves the label into the #ifdef it is used under. Thanks, applying. --b. > > fs/lockd/svc.c: In function ‘init_nlm’: > fs/lockd/svc.c:626:1: warning: label

[PATCH] lockd: avoid warning when CONFIG_SYSCTL undefined

2014-05-01 Thread Kees Cook
When building without CONFIG_SYSCTL, the compiler saw an unused label. This moves the label into the #ifdef it is used under. fs/lockd/svc.c: In function ‘init_nlm’: fs/lockd/svc.c:626:1: warning: label ‘err_sysctl’ defined but not used [-Wunused-label] Signed-off-by: Kees Cook --- fs/lockd/sv