diff options
| author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2022-12-13 16:01:31 -0800 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-01-19 08:18:03 -0800 |
| commit | 6a8d013e904ad9a66706fcc926ec9993bed7d190 (patch) | |
| tree | b5de32371ca1562b4988b917b90de6eade209dbd /tools/perf/scripts/python/syscall-counts.py | |
| parent | ice: remove redundant non-null check in ice_setup_pf_sw() (diff) | |
| download | linux-6a8d013e904ad9a66706fcc926ec9993bed7d190.tar.gz linux-6a8d013e904ad9a66706fcc926ec9993bed7d190.zip | |
ice: add missing checks for PF vsi type
There were a few places we had missed checking the VSI type to make sure
it was definitely a PF VSI, before calling setup functions intended only
for the PF VSI.
This doesn't fix any explicit bugs but cleans up the code in a few
places and removes one explicit != vsi->type check that can be
superseded by this code (it's a super set)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
