aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-31 09:21:57 -0500
committerDavid S. Miller <davem@davemloft.net>2018-08-01 09:38:05 -0700
commit96d395020e87607b3454edc2f49a03ddcfbef986 (patch)
tree00ae6c14f7e91edce0d7a876e080f88baad1dd09 /drivers/net/ethernet/emulex
parentqed: Make some functions static (diff)
downloadlinux-dev-96d395020e87607b3454edc2f49a03ddcfbef986.tar.xz
linux-dev-96d395020e87607b3454edc2f49a03ddcfbef986.zip
net/mlx5e: Fix uninitialized variable
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@embeddedor.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
0 files changed, 0 insertions, 0 deletions