summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2016-08-24 11:33:50 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-09-22 22:33:39 -0700
commitd4a0658d813ec72965a52f04f07258a4018ccb17 (patch)
treec022a69cc1f68ef1915863307918ccefb2ce6c43 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent8d9d927f4ab8d87fee91d9aa8bdcdf19a1787ce0 (diff)
i40e: Fix to check for NULL
This patch fixes an issue in the virt channel code, where a return from i40e_find_vsi_from_id was not checked for NULL when applicable. Without this patch, there is a risk for panic and static analysis tools complain. This patch fixes the problem by adding the check and adding an additional input check for similar reasons. Change-ID: I7e9be88eb7a3addb50eadc451c8336d9e06f5394 Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions