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 /Documentation/infiniband/user_mad.txt | |
parent | 7ef7587541d49c6de1c9650c3c819a7fdd7ade66 (diff) | |
download | linux-b417c0879db72f810ca81d88b719e70d20566857.tar.bz2 |
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 'Documentation/infiniband/user_mad.txt')
0 files changed, 0 insertions, 0 deletions