diff options
author | Wang Hai <[email protected]> | 2020-11-13 19:32:36 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-13 15:09:54 -0800 |
commit | 8c07205aea36ccebe9fc5f97287a8bc416cea197 (patch) | |
tree | 8b96028fb2bf6e8dd2999fa24c73106f499b11a3 /lib/mpi/mpi-cmp.c | |
parent | aa6306a8481e0223f3783d24045daea80897238e (diff) |
net: marvell: prestera: fix error return code in prestera_pci_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 4c2703dfd7fa ("net: marvell: prestera: Add PCI interface support")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
Reviewed-by: Vadym Kochan <[email protected]>
Acked-by: Vadym Kochan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions