]> 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)
commit88f40bf49b57c46fc028f2651ae6667128b41899
treeed0d5a287dd008286bdf6eded40a45422823283d
parent0e514539d3ec7007f362913529ac90d842e03ed3
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