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: 514aee660df4 ("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
..
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2020-11-17 15:22:07 -04:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00
2021-08-25 14:55:49 -03:00