]> git.karo-electronics.de Git - linux-beck.git/commit
staging/lustre/obdclass: fix false used uninitialized warning
authorPeng Tao <bergwolf@gmail.com>
Tue, 3 Dec 2013 14:41:58 +0000 (22:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 16:53:55 +0000 (08:53 -0800)
commit52ee5b567c4cf3ee51af7836ff71d27c04491d2e
tree354ddabac0e0359adacc2a8114f173624c082038
parent87c7d31570076d73f1fe73ef8f01c1380b768a3b
staging/lustre/obdclass: fix false used uninitialized warning

Got below warning when building lustre with 4.7.3.
drivers/staging/lustre/lustre/obdclass/llog_test.c: In function ‘
llog_test_init’:
drivers/staging/lustre/lustre/obdclass/llog_test.c:1058:28: warning: ‘
lvars.module_vars’ is used uninitialized in this function
[-Wuninitialized]

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_test.c