]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Return correct error code from hns_roce_v1_rsv_lp_qp()
authorLijun Ou <oulijun@huawei.com>
Wed, 25 Jul 2018 07:29:36 +0000 (15:29 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 22:51:12 +0000 (16:51 -0600)
commitece22a93bd2dca3f105d72876f0d6af6320de9c7
treeed0d5a287dd008286bdf6eded40a45422823283d
parent62f21e2a553b584b10f9ead0ca41b4e1e5facb1b
RDMA/hns: Return correct error code from hns_roce_v1_rsv_lp_qp()

When create loop qp fail, it will return the correct result when
modify_qp() fails.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c