summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-11-12 12:46:23 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-11-17 02:38:43 +0100
commitcf89752645e47d86ba8a4157f4b121fcb33434c5 (patch)
tree98d2458686405879ec6206dba3e9f2c5c33b43e4 /net
parentLinux 4.4-rc1 (diff)
downloadlinux-cf89752645e47d86ba8a4157f4b121fcb33434c5.tar.xz
linux-cf89752645e47d86ba8a4157f4b121fcb33434c5.zip
FS-Cache: Add missing initialization of ret in cachefiles_write_page()
fs/cachefiles/rdwr.c: In function ‘cachefiles_write_page’: fs/cachefiles/rdwr.c:882: warning: ‘ret’ may be used uninitialized in this function If the jump to label "error" is taken, "ret" will indeed be uninitialized, and random stack data may be printed by the debug code. Fixes: 102f4d900c9c8f5e ("FS-Cache: Handle a write to the page immediately beyond the EOF marker") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions