diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-06-08 12:27:14 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-06-25 10:21:13 -0300 |
commit | b417c0879db72f810ca81d88b719e70d20566857 (patch) | |
tree | 960ef4c8d3385ca05714d5ac5e21edfab65a2700 /certs | |
parent | 7ef7587541d49c6de1c9650c3c819a7fdd7ade66 (diff) |
RDMA/hns: Fix an error code in hns_roce_set_user_sq_size()
This function is supposed to return negative kernel error codes but here
it returns CMD_RST_PRC_EBUSY (2). The error code eventually gets passed
to IS_ERR() and since it's not an error pointer it leads to an Oops in
hns_roce_v1_rsv_lp_qp()
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions