aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-02-10 07:54:17 +0000
committerSaeed Mahameed <[email protected]>2021-02-10 20:47:15 -0800
commitb50c4892cb98417df96b73119c54520da34a3e88 (patch)
tree69ed7b5f4cc8c08acdf0fbfca4074ef906a7a220 /lib/memory-notifier-error-inject.c
parent2b6c3c1e74e53f370074eb03769c9499aa30c55a (diff)
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 <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions