mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 12:30:23 +09:00
[ Upstream commit6bc950beff] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes:db7683d7de("IB/srpt: Fix login-related race conditions") Link: https://lore.kernel.org/r/20210408113132.87250-1-wangwensheng4@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>