linux_dsm_epyc7002/drivers/infiniband/ulp
Wei Yongjun 6b31afcef5 RDMA/rtrs: server: Fix some error return code
Fix to return negative error code -ENOMEM from the some error handling
cases instead of 0, as done elsewhere in this function.

Fixes: 9cb8374804 ("RDMA/rtrs: server: main functionality")
Fixes: 91b11610af ("RDMA/rtrs: server: sysfs interface functions")
Link: https://lore.kernel.org/r/20200519091912.134358-1-weiyongjun1@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Danil Kipnis <danil.kipnis@cloud.ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-19 20:42:25 -03:00
..
ipoib RDMA: Allow ib_client's to fail when add() is called 2020-05-06 11:57:33 -03:00
iser IB/iser: Always check sig MR before putting it to the free pool 2020-03-26 16:46:54 -03:00
isert scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout" 2020-02-14 17:13:53 -05:00
opa_vnic RDMA: Allow ib_client's to fail when add() is called 2020-05-06 11:57:33 -03:00
rtrs RDMA/rtrs: server: Fix some error return code 2020-05-19 20:42:25 -03:00
srp RDMA: Allow ib_client's to fail when add() is called 2020-05-06 11:57:33 -03:00
srpt RDMA/srpt: Fix disabling device management 2020-05-17 20:43:19 -03:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00