diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-11-13 19:32:36 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-13 15:09:54 -0800 |
commit | 8c07205aea36ccebe9fc5f97287a8bc416cea197 (patch) | |
tree | 8b96028fb2bf6e8dd2999fa24c73106f499b11a3 /drivers/net/ethernet/ti | |
parent | aa6306a8481e0223f3783d24045daea80897238e (diff) | |
download | linux-stable-8c07205aea36ccebe9fc5f97287a8bc416cea197.tar.gz linux-stable-8c07205aea36ccebe9fc5f97287a8bc416cea197.tar.bz2 linux-stable-8c07205aea36ccebe9fc5f97287a8bc416cea197.zip |
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 <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Vadym Kochan <vadym.kochan@plvision.eu>
Acked-by: Vadym Kochan <vadym.kochan@plvision.eu>
Link: https://lore.kernel.org/r/20201113113236.71678-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions