diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-09-29 03:55:16 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:35 +0100 |
| commit | 74a73932b86186a801b5f6188c14872a9cc8e285 (patch) | |
| tree | f0877992fc2439a421a1d4bd5db3f2f6ea7b468d /tools/perf/scripts/python | |
| parent | 957758e16f996f46e53227a0c5ab036bf5683c96 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
