linux_dsm_epyc7002/drivers/infiniband
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
..
core RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep 2021-03-09 11:11:14 +01:00
hw IB/mlx5: Add missing error code 2021-03-09 11:11:14 +01:00
sw RDMA/rxe: Fix missing kconfig dependency on CRYPTO 2021-03-09 11:11:14 +01:00
ulp RDMA/rtrs-srv: Do not signal REG_MR 2021-03-07 12:34:06 +01:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile