diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-11-13 14:34:03 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-16 15:32:30 -0800 |
commit | 661710bfd5039267f911e42675ab743760b6449d (patch) | |
tree | 0e66e605d2fdda6fea3d72a9f8d6dee7602c1dd9 /drivers/net/ethernet/ti | |
parent | 3beb9be165083c2964eba1923601c3bfac0b02d4 (diff) | |
download | linux-stable-661710bfd5039267f911e42675ab743760b6449d.tar.gz linux-stable-661710bfd5039267f911e42675ab743760b6449d.tar.bz2 linux-stable-661710bfd5039267f911e42675ab743760b6449d.zip |
net: stmmac: dwmac-intel-plat: fix error return code in intel_eth_plat_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 9efc9b2b04c7 ("net: stmmac: Add dwmac-intel-plat for GBE driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1605249243-17262-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions