aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
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/bin
parenti40e: return correct opcode to VF (diff)
downloadlinux-d4a0658d813ec72965a52f04f07258a4018ccb17.tar.gz
linux-d4a0658d813ec72965a52f04f07258a4018ccb17.zip
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/bin')
0 files changed, 0 insertions, 0 deletions