linux/drivers/net/ethernet/chelsio/cxgb3
Zhang Changzhong ff9924897f cxgb3: fix error return code in t3_sge_alloc_qset()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: b1fb1f280d ("cxgb3 - Fix dma mapping error path")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Raju Rangoju <rajur@chelsio.com>
Link: https://lore.kernel.org/r/1606902965-1646-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-02 18:03:53 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adapter.h net: cxgb3: Cleanup in_interrupt() usage 2020-09-29 14:02:53 -07:00
ael1002.c chelsio: simplify the return expression of t3_ael2020_phy_prep() 2020-09-21 13:49:05 -07:00
aq100x.c
common.h
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cxgb3_main.c net: cxgb3: Cleanup in_interrupt() usage 2020-09-29 14:02:53 -07:00
cxgb3_offload.c net: cxgb3: remove redundant null pointer check before kfree_skb 2018-09-21 09:04:37 -07:00
cxgb3_offload.h
firmware_exports.h
l2t.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
l2t.h cxgb3/l2t: Fix undefined behaviour 2019-04-01 15:01:46 -07:00
mc5.c
regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sge.c cxgb3: fix error return code in t3_sge_alloc_qset() 2020-12-02 18:03:53 -08:00
sge_defs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
t3_cpl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
t3_hw.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
t3cdev.h RDMA/cxgb3: Annotate an RCU pointer 2017-10-14 20:47:05 -04:00
version.h net/chelsio: Delete drive and module versions 2020-03-03 17:54:54 -08:00
vsc8211.c
xgmac.c