linux_dsm_epyc7002/drivers/infiniband/hw
YueHaibing 7ef9d23bc3 IB/mlx5: Add missing error code
[ Upstream commit 3a9b3d4536e0c25bd3906a28c1f584177e49dd0f ]

Set err to -ENOMEM if kzalloc fails instead of 0.

Fixes: 7597385371 ("IB/mlx5: Enable subscription for device events over DEVX")
Link: https://lore.kernel.org/r/20210222122343.19720-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-09 11:11:14 +01:00
..
bnxt_re RDMA/bnxt_re: Fix entry size during SRQ create 2020-12-30 11:52:57 +01:00
cxgb4 RDMA/cxgb4: Fix the reported max_recv_sge value 2021-02-03 23:28:46 +01:00
efa RDMA/efa: Use the correct current and new states in modify QP 2020-12-01 20:53:48 -04:00
hfi1 IB/hfi1: Ensure correct mm is used at all times 2020-11-25 20:30:46 -04:00
hns RDMA/hns: Fixes missing error code of CMDQ 2021-03-04 11:38:08 +01:00
i40iw RDMA/i40iw: Address an mmap handler exploit in i40iw 2020-11-25 10:38:11 -04:00
mlx4 RDMA: Explicitly pass in the dma_device to ib_register_device 2020-10-16 13:53:46 -03:00
mlx5 IB/mlx5: Add missing error code 2021-03-09 11:11:14 +01:00
mthca RDMa/mthca: Work around -Wenum-conversion warning 2020-12-30 11:53:08 +01:00
ocrdma RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd() 2021-01-19 18:27:21 +01:00
qedr RDMA/qedr: iWARP invalid(zero) doorbell address fix 2020-12-01 20:52:07 -04:00
qib Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
usnic RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp 2021-01-19 18:27:31 +01:00
vmw_pvrdma RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-30 13:55:18 +01:00
Makefile