linux_dsm_epyc7002/drivers/infiniband
Parav Pandit 0d19c3e616 IB/mlx5: Return appropriate error code instead of ENOMEM
[ Upstream commit d286ac1d05210695c312b9018b3aa7c2048e9aca ]

When mlx5_ib_stage_init_init() fails, return the error code related to
failure instead of -ENOMEM.

Fixes: 16c1975f10 ("IB/mlx5: Create profile infrastructure to add and remove stages")
Link: https://lore.kernel.org/r/20210127150010.1876121-8-leon@kernel.org
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:03 +01:00
..
core IB/umad: Return EPOLLERR in case of when device disassociated 2021-03-04 11:38:01 +01:00
hw IB/mlx5: Return appropriate error code instead of ENOMEM 2021-03-04 11:38:03 +01:00
sw RDMA/siw: Fix handling of zero-sized Read and Receive Queues. 2021-03-04 11:37:54 +01:00
ulp RDMA/rtrs-srv: Init wr_cnt as 1 2021-03-04 11:37:57 +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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00