summaryrefslogtreecommitdiffstats
path: root/fs/cifs/netmisc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-06-19 15:25:30 +0300
committerSteve French <stfrench@microsoft.com>2018-08-07 14:15:41 -0500
commitff361fda55fda55031252aca1f8afef735fe057c (patch)
tree20d7b706d4b85ff6b5ee45c90b82c107e1f2d52e /fs/cifs/netmisc.c
parent1236568ee3cbb0d3ac62d0074a29b97ecf34cbbc (diff)
downloadlinux-ff361fda55fda55031252aca1f8afef735fe057c.tar.bz2
cifs: Silence uninitialized variable warning
This is not really a runtime issue but Smatch complains that: fs/cifs/smb2ops.c:1740 smb2_query_symlink() error: uninitialized symbol 'resp_buftype'. The warning is right that it can be uninitialized... Also "err_buf" would be NULL at this point and we're not supposed to pass NULLs to free_rsp_buf() or it might trigger some extra output if we turn on debugging. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Paulo Alcantara <palcantara@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/netmisc.c')
0 files changed, 0 insertions, 0 deletions