aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_switch.h
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2018-08-09 06:29:01 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-08-23 11:30:38 -0700
commitdab0588fb616c1774bbf108eab1749dda4ac6942 (patch)
tree351a9c54764dcbbd58d4524ea7cbdc749210ddf2 /drivers/net/ethernet/intel/ice/ice_switch.h
parentice: Fix a few null pointer dereference issues (diff)
downloadlinux-dev-dab0588fb616c1774bbf108eab1749dda4ac6942.tar.xz
linux-dev-dab0588fb616c1774bbf108eab1749dda4ac6942.zip
ice: Fix potential return of uninitialized value
In ice_vsi_setup_[tx|rx]_rings, err is uninitialized which can result in a garbage value return to the caller. Fix that. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.h')
0 files changed, 0 insertions, 0 deletions