linux_dsm_epyc7002/drivers/infiniband
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
..
core RDMA/core: Consolidate ib_create_srq flows 2020-05-17 20:35:25 -03:00
hw RDMA/mlx5: Update mlx5_ib driver name 2020-05-17 20:40:20 -03:00
sw RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
ulp RDMA/rtrs: server: Fix some error return code 2020-05-19 20:42:25 -03:00
Kconfig RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00