[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALzJLG8=TttvWE_tqsqafU=qcV_c67UQYLqQzPwYnXXfX3PokA@mail.gmail.com>
Date: Tue, 31 Jul 2018 14:47:58 -0700
From: Saeed Mahameed <saeedm@....mellanox.co.il>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: Tariq Toukan <tariqt@...lanox.com>,
Saeed Mahameed <saeedm@...lanox.com>,
Leon Romanovsky <leon@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] net/mlx5e: Fix uninitialized variable
On Tue, Jul 31, 2018 at 7:21 AM, Gustavo A. R. Silva
<gustavo@...eddedor.com> wrote:
> There is a potential execution path in which variable *err* is returned
> without being properly initialized previously.
>
> Fix this by initializing variable *err* to 0.
>
> Addresses-Coverity-ID: 1472116 ("Uninitialized scalar variable")
> Fixes: 0ec13877ce95 ("net/mlx5e: Gather all XDP pre-requisite checks in a single function")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Acked-by: Saeed Mahameed <saeedm@...lanox.com>
Powered by blists - more mailing lists