diff options
| author | Parav Pandit <parav@nvidia.com> | 2021-01-27 17:00:07 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-02 13:21:18 -0400 |
| commit | d286ac1d05210695c312b9018b3aa7c2048e9aca (patch) | |
| tree | eade44da6089afe85fa0c7377f69947ecb498922 /tools/perf/scripts/python | |
| parent | RDMA/efa: Remove unused syndrome enum values (diff) | |
| download | linux-d286ac1d05210695c312b9018b3aa7c2048e9aca.tar.gz linux-d286ac1d05210695c312b9018b3aa7c2048e9aca.zip | |
IB/mlx5: Return appropriate error code instead of ENOMEM
When mlx5_ib_stage_init_init() fails, return the error code related to
failure instead of -ENOMEM.
Fixes: 16c1975f1032 ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
