diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-02 12:56:05 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-03 05:03:53 +0300 |
commit | ff9924897f8bfed82e61894b373ab9d2dfea5b10 (patch) | |
tree | f4e5ae4104e4753efb695067213eda8c2990db47 /drivers/net/ethernet/pasemi | |
parent | 6ee50c8e262a0f0693dad264c3c99e30e6442a56 (diff) | |
download | linux-ff9924897f8bfed82e61894b373ab9d2dfea5b10.tar.xz |
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: b1fb1f280d09 ("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>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
0 files changed, 0 insertions, 0 deletions