]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Modify qp will return errno when qp type is illegal
authorLijun Ou <oulijun@huawei.com>
Mon, 30 Jul 2018 12:20:28 +0000 (20:20 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:42:44 +0000 (20:42 -0600)
commit383a1792663152839212bde724b833ae93e808b2
treea76d0aab496c8fd757a4d43cb42a16553a3fa992
parent8ed51f0c01dc9e149e252e6abc93db1f64dbc784
RDMA/hns: Modify qp will return errno when qp type is illegal

Set for ret was missing in the error path here, resulting in incorrect
error code for modify_qp.

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