From: Vakul Garg <vakul.g...@nxp.com> Date: Mon, 24 Sep 2018 16:09:49 +0530
> 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.g...@nxp.com> Applied.