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)
commitdedf63506a8e55235edf902fa7455cd2974e462d
treeed0d5a287dd008286bdf6eded40a45422823283d
parentaaa31567799dbce55a1b780355dabf83556018d0
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