diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-09-29 03:55:16 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:20:01 +0100 |
commit | e3db306d1fda584d63ea02ac628b1858317b26ab (patch) | |
tree | 5ced99552ba99861fdfa8581fdee740c3985a1ce /drivers/infiniband/sw | |
parent | 1b86b8ad6e4738521378ce6879a7e148c9494cd4 (diff) | |
download | linux-rt-e3db306d1fda584d63ea02ac628b1858317b26ab.tar.gz |
IB/mthca: Fix error return code in __mthca_init_one()
[ Upstream commit 39f2495618c5e980d2873ea3f2d1877dd253e07a ]
Fix to return a negative error code from the mthca_cmd_init() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 80fd8238734c ("[PATCH] IB/mthca: Encapsulate command interface init")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions