aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-06-20 14:27:51 +0100
committerDavid S. Miller <davem@davemloft.net>2019-06-22 17:08:49 -0700
commit137e4e1ab7b3145364b01d2a260ca46672765865 (patch)
tree6c90add341e635693f8af460537639d9025c2e99 /tools/perf/scripts/python/exported-sql-viewer.py
parent969b15b002628ca4bb7fa4ee9c2e07bc545d0477 (diff)
hinic: fix dereference of pointer hwdev before it is null checked
Currently pointer hwdev is dereferenced when assigning hwif before hwdev is null checked. Fix this by only derefencing hwdev after the null check. Addresses-Coverity: ("Dereference before null check") Fixes: 4fdc51bb4e92 ("hinic: add support for rss parameters with ethtool") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions