commit | ac7cbf96c20991dbeea0af04ca9ff25252af9e5f | [log] [tgz] |
---|---|---|
author | Lijun Ou <oulijun@huawei.com> | Mon Jul 30 20:20:28 2018 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jul 30 20:42:44 2018 -0600 |
tree | a76d0aab496c8fd757a4d43cb42a16553a3fa992 | |
parent | c8e46f8d632c30e2b1cda0afa6697cfea16d57c0 [diff] |
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>