summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-31 17:21:57 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-01 19:38:05 +0300
commit96d395020e87607b3454edc2f49a03ddcfbef986 (patch)
tree00ae6c14f7e91edce0d7a876e080f88baad1dd09 /drivers/net/netdevsim
parentbf774d141a33ea13e8cd11034ada395d3f23ef51 (diff)
downloadlinux-96d395020e87607b3454edc2f49a03ddcfbef986.tar.xz
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/netdevsim')
0 files changed, 0 insertions, 0 deletions