WSL2-Linux-Kernel/drivers/infiniband/hw/hns
Wei Yongjun 020fb3bebc RDMA/hns: Fix error return code in hns_roce_v1_rsv_lp_qp()
Fix to return error code -ENOMEM from the rdma_zalloc_drv_obj() error
handling case instead of 0, as done elsewhere in this function.

Fixes: e8ac9389f0 ("RDMA: Fix allocation failure on pointer pd")
Fixes: 21a428a019 ("RDMA: Handle PD allocations by IB/core")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190801012725.150493-1-weiyongjun1@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-01 12:53:53 -04:00
..
Kconfig RDMA/hns: Fix build error 2019-07-29 12:05:57 -04:00
Makefile RDMA/hns: Fix build error 2019-07-29 12:05:57 -04:00
hns_roce_ah.c RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
hns_roce_alloc.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_cmd.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_cmd.h RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_db.c RDMA/hns: Fix sg offset non-zero issue 2019-07-22 14:44:08 -03:00
hns_roce_device.h RDMA/hns: Fix bug when wqe num is larger than 16K 2019-06-20 12:56:34 -04:00
hns_roce_hem.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_hem.h RDMa/hns: Don't stuck in endless timeout loop 2019-06-20 15:39:43 -04:00
hns_roce_hw_v1.c RDMA/hns: Fix error return code in hns_roce_v1_rsv_lp_qp() 2019-08-01 12:53:53 -04:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_hw_v2.h RDMA/hns: reset function when removing module 2019-06-20 15:05:48 -04:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_main.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_mr.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_pd.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_qp.c RDMA/hns: Fixs hw access invalid dma memory error 2019-07-07 09:19:38 -03:00
hns_roce_restrack.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_srq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00