diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-10-18 01:42:27 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:52:01 +0300 |
| commit | d4bcd7e75cce12cc596144688a8167cef19e886c (patch) | |
| tree | 1da48777c67b024bef204949532c7dad3b6d2fcc /scripts | |
| parent | c444ebc83ee233849f32b41d43953bddce06c8f3 (diff) | |
| download | linux-d4bcd7e75cce12cc596144688a8167cef19e886c.tar.xz | |
staging: lustre: restore initialization of return code
A recent rework dropped the initialization of the initialization of the
successful return code in lov_getstripe:
drivers/staging/lustre/lustre/lov/lov_pack.c: In function 'lov_getstripe':
drivers/staging/lustre/lustre/lov/lov_pack.c:426:9: error: 'rc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
drivers/staging/lustre/lustre/lov/lov_pack.c:313:6: note: 'rc' was declared here
This adds it back.
Fixes: e10a431b3fd0 ("staging: lustre: lov: move LSM to LOV layer")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
