diff options
author | Alakesh Haloi | 2019-03-26 03:00:01 +0100 |
---|---|---|
committer | Trond Myklebust | 2019-03-26 21:04:32 +0100 |
commit | 01f2f5b82a2b523ae76af53f2ff43c48dde10a00 (patch) | |
tree | ed85bd1061cc859e6a1d35c4f9e86e0548194a29 /tools | |
parent | pNFS/flexfiles: Fix layoutstats handling during read failovers (diff) | |
download | kernel-qcow2-linux-01f2f5b82a2b523ae76af53f2ff43c48dde10a00.tar.gz kernel-qcow2-linux-01f2f5b82a2b523ae76af53f2ff43c48dde10a00.tar.xz kernel-qcow2-linux-01f2f5b82a2b523ae76af53f2ff43c48dde10a00.zip |
SUNRPC: fix uninitialized variable warning
Avoid following compiler warning on uninitialized variable
net/sunrpc/xprtsock.c: In function ‘xs_read_stream_request.constprop’:
net/sunrpc/xprtsock.c:525:10: warning: ‘read’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return read;
^~~~
net/sunrpc/xprtsock.c:529:23: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ret < 0 ? ret : read;
~~~~~~~~~~~~~~^~~~~~
Signed-off-by: Alakesh Haloi <alakesh.haloi@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions