aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-07-31 09:21:57 -0500
committerDavid S. Miller <[email protected]>2018-08-01 09:38:05 -0700
commit96d395020e87607b3454edc2f49a03ddcfbef986 (patch)
tree00ae6c14f7e91edce0d7a876e080f88baad1dd09 /tools/perf/scripts/python/intel-pt-events.py
parentbf774d141a33ea13e8cd11034ada395d3f23ef51 (diff)
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 <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Acked-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions