[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180924.122623.1139329132321083868.davem@davemloft.net>
Date: Mon, 24 Sep 2018 12:26:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: netdev@...r.kernel.org, borisp@...lanox.com, aviadye@...lanox.com,
davejwatson@...com, doronrk@...com
Subject: Re: [PATCH net-next] tls: Fixed uninitialised vars warning
From: Vakul Garg <vakul.garg@....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.garg@....com>
Applied.
Powered by blists - more mailing lists