diff options
| author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2016-08-24 11:33:50 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-09-22 22:33:39 -0700 |
| commit | d4a0658d813ec72965a52f04f07258a4018ccb17 (patch) | |
| tree | c022a69cc1f68ef1915863307918ccefb2ce6c43 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | i40e: return correct opcode to VF (diff) | |
| download | linux-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
