mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
RDMA/qedr: Fix error return code in qedr_iw_connect()
[ Upstream commit10dd83dbcd] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes:82af6d19d8("RDMA/qedr: Fix synchronization methods and memory leaks in qedr") Link: https://lore.kernel.org/r/20210408113135.92165-1-wangwensheng4@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0f8528c78f
commit
a12d75f5dc
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue