Re: [PATCH] staging: lustre: lnet: avoid uninitialized return value

2018-01-17 Thread James Simmons
> gcc warns that the latest workqueue change leads to returning an > uninitialized variable: > > drivers/staging/lustre/lnet/selftest/module.c: In function > 'lnet_selftest_init': > drivers/staging/lustre/lnet/selftest/module.c:98:10: error: 'rc' may be used > uninitialized in this function

[PATCH] staging: lustre: lnet: avoid uninitialized return value

2018-01-16 Thread Arnd Bergmann
gcc warns that the latest workqueue change leads to returning an uninitialized variable: drivers/staging/lustre/lnet/selftest/module.c: In function 'lnet_selftest_init': drivers/staging/lustre/lnet/selftest/module.c:98:10: error: 'rc' may be used uninitialized in this function