diff options
author | 2021-02-10 07:54:17 +0000 | |
---|---|---|
committer | 2021-02-10 20:47:15 -0800 | |
commit | b50c4892cb98417df96b73119c54520da34a3e88 (patch) | |
tree | 69ed7b5f4cc8c08acdf0fbfca4074ef906a7a220 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net/mlx5e: Fix error return code in mlx5e_tc_esw_init() (diff) | |
download | wireguard-linux-b50c4892cb98417df96b73119c54520da34a3e88.tar.xz wireguard-linux-b50c4892cb98417df96b73119c54520da34a3e88.zip |
net/mlx5: SF, Fix error return code in mlx5_sf_dev_probe()
Fix to return negative error code -ENOMEM from the ioremap() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 1958fc2f0712 ("net/mlx5: SF, Add auxiliary device driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions