Thread (5 messages) 5 messages, 4 authors, 2018-08-01

Re: [PATCH] net/mlx5e: Fix uninitialized variable

From: Gustavo A. R. Silva <hidden>
Date: 2018-08-01 18:15:38
Also in: linux-rdma, lkml


On 08/01/2018 11:38 AM, David Miller wrote:
From: "Gustavo A. R. Silva" <redacted>
Date: Tue, 31 Jul 2018 09:21:57 -0500
quoted
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 <redacted>
Applied to net-next.
David,

Sorry I failed to tag this patch for net-next. I got a bit confused, once based on the logs,
the usual committer for this driver is Saeed Mahameed; not you. So, I wasn't quite sure about
how to proceed.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help