Skip to content
Snippets Groups Projects
Commit 8c07205a authored by Wang Hai's avatar Wang Hai Committed by Jakub Kicinski
Browse files

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: 4c2703df ("net: marvell: prestera: Add PCI interface support")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Reviewed-by: default avatarVadym Kochan <vadym.kochan@plvision.eu>
Acked-by: default avatarVadym Kochan <vadym.kochan@plvision.eu>
Link: https://lore.kernel.org/r/20201113113236.71678-1-wanghai38@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent aa6306a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment