OpenCloudOS-Kernel/drivers/net/ethernet/atheros/atl1c
Zhang Changzhong 537a147265 atl1c: fix error return code in atl1c_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 43250ddd75 ("atl1c: Atheros L1C Gigabit Ethernet driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1605581721-36028-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-18 11:00:17 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atl1c.h net/atheros: Clean atheros code from driver version 2020-02-24 11:24:47 -08:00
atl1c_ethtool.c net/atheros: Clean atheros code from driver version 2020-02-24 11:24:47 -08:00
atl1c_hw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
atl1c_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
atl1c_main.c atl1c: fix error return code in atl1c_probe() 2020-11-18 11:00:17 -08:00