diff options
author | Li Heng <liheng40@huawei.com> | 2020-07-25 10:56:27 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-27 12:13:34 -0300 |
commit | 47fda651d5af2506deac57d54887cf55ce26e244 (patch) | |
tree | 8bfe3992a3d78959ae245ec52dec837474246c52 /drivers/infiniband/hw/mlx5 | |
parent | 79237743687178a56b282e6a8b9845ab0a54e598 (diff) |
RDMA/core: Fix return error value in _ib_modify_qp() to negative
The error codes in _ib_modify_qp() are supposed to be negative errno.
Fixes: 7a5c938b9ed0 ("IB/core: Check for rdma_protocol_ib only after validating port_num")
Link: https://lore.kernel.org/r/1595645787-20375-1-git-send-email-liheng40@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Li Heng <liheng40@huawei.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
0 files changed, 0 insertions, 0 deletions