[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180801.093824.692154182807362672.davem@davemloft.net>
Date: Wed, 01 Aug 2018 09:38:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: tariqt@...lanox.com, saeedm@...lanox.com, leon@...nel.org,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx5e: Fix uninitialized variable
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Tue, 31 Jul 2018 09:21:57 -0500
> 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>
Applied to net-next.
Powered by blists - more mailing lists