diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-09-29 06:55:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 10:23:04 +0300 |
commit | de4f2ad656dbc84e897d959f6076e73c145850d8 (patch) | |
tree | 14975b2815ef3a0b1ed2ca782c907184f8bc80f9 /include/rdma | |
parent | 2778c84d3754966ee3da5f1eef8a4717fbfface2 (diff) | |
download | linux-de4f2ad656dbc84e897d959f6076e73c145850d8.tar.xz |
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 'include/rdma')
0 files changed, 0 insertions, 0 deletions