linux/drivers/infiniband/sw
Dan Carpenter 663991f328 RDMA/rdmavt: Fix error code in rvt_create_qp()
Return negative -ENOMEM instead of positive ENOMEM.  Returning a postive
value will cause an Oops because it becomes an ERR_PTR() in the
create_qp() function.

Fixes: 514aee660d ("RDMA: Globally allocate and release QP memory")
Link: https://lore.kernel.org/r/20211013080645.GD6010@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-10-13 13:59:47 -03:00
..
rdmavt RDMA/rdmavt: Fix error code in rvt_create_qp() 2021-10-13 13:59:47 -03:00
rxe RDMA v5.15 merge window Pull Request 2021-09-02 14:47:21 -07:00
siw RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00