1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell/octeontx2/nic
Wei Yongjun 9302bead66 octeontx2-vf: Fix error return code in otx2vf_probe()
Fix to return negative error code -ENOMEM from the alloc failed error
handling case instead of 0, as done elsewhere in this function.

Fixes: 3184fb5ba9 ("octeontx2-vf: Virtual function driver support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-05-08 22:22:13 -07:00
..
Makefile octeontx2-vf: Virtual function driver support 2020-03-23 21:11:43 -07:00
otx2_common.c octeontx2-pf: Remove wrapper APIs for mutex lock and unlock 2020-03-23 21:11:44 -07:00
otx2_common.h octeontx2-pf: Fix ndo_set_rx_mode 2020-03-25 12:20:00 -07:00
otx2_ethtool.c octeontx2-vf: Ethtool support 2020-03-23 21:11:43 -07:00
otx2_pf.c octeontx2-pf: Fix ndo_set_rx_mode 2020-03-25 12:20:00 -07:00
otx2_reg.h octeontx2-vf: Virtual function driver support 2020-03-23 21:11:43 -07:00
otx2_struct.h octeontx2-pf: Error handling support 2020-01-27 14:33:39 +01:00
otx2_txrx.c octeontx2-pf: Fix rx buffer page refcount 2020-03-25 12:20:00 -07:00
otx2_txrx.h octeontx2-pf: Add basic ethtool support 2020-01-27 14:33:39 +01:00
otx2_vf.c octeontx2-vf: Fix error return code in otx2vf_probe() 2020-05-08 22:22:13 -07:00