aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ethtool.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-03-28 12:50:45 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-04-06 07:00:09 -0700
commit63bb4e1ebd9876d250eea24d27a2caf3e0e3302c (patch)
tree815af849a7eb9dc97c987c75bafe39b4c653bcec /drivers/net/ethernet/intel/ice/ice_ethtool.c
parentnet/sched: fix NULL dereference in the error path of tcf_bpf_init() (diff)
downloadlinux-dev-63bb4e1ebd9876d250eea24d27a2caf3e0e3302c.tar.xz
linux-dev-63bb4e1ebd9876d250eea24d27a2caf3e0e3302c.zip
ice: Fix error return code in ice_init_hw()
Fix to return error code ICE_ERR_NO_MEMORY from the alloc error handling case instead of 0, as done elsewhere in this function. Fixes: dc49c7723676 ("ice: Get MAC/PHY/link info and scheduler topology") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-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 '')
0 files changed, 0 insertions, 0 deletions