diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-09-29 05:55:16 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-04 00:02:10 +0200 |
commit | 39f2495618c5e980d2873ea3f2d1877dd253e07a (patch) | |
tree | 590adedc3de02f3430864ca69a8bcdc0d78413bd /drivers/infiniband/sw | |
parent | RDMA/uverbs: Fix RCU annotation for radix slot deference (diff) | |
download | linux-39f2495618c5e980d2873ea3f2d1877dd253e07a.tar.xz linux-39f2495618c5e980d2873ea3f2d1877dd253e07a.zip |
IB/mthca: Fix error return code in __mthca_init_one()
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>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions