aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm
diff options
context:
space:
mode:
authorVakul Garg <vakul.garg@nxp.com>2018-09-24 16:09:49 +0530
committerDavid S. Miller <davem@davemloft.net>2018-09-24 12:24:52 -0700
commit4128c0cfb1d74cb1fa2a2fb6824348b349d30f04 (patch)
treeeff037f4f01dd804bbb808073658d184765d5b31 /drivers/net/ethernet/qualcomm
parentnet/tls: Fixed race condition in async encryption (diff)
downloadlinux-dev-4128c0cfb1d74cb1fa2a2fb6824348b349d30f04.tar.xz
linux-dev-4128c0cfb1d74cb1fa2a2fb6824348b349d30f04.zip
tls: Fixed uninitialised vars warning
In tls_sw_sendmsg() and tls_sw_sendpage(), it is possible that the uninitialised variable 'ret' gets passed to sk_stream_error(). So initialise local variable 'ret' to '0. The warnings were detected by 'smatch' tool. Fixes: a42055e8d2c3 ("net/tls: Add support for async encryption") Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
0 files changed, 0 insertions, 0 deletions