diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-04-27 15:15:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-20 11:25:10 +0300 |
commit | 5338f0f87dc98f9b2c6256dfb8fdb23fd449f0fd (patch) | |
tree | 5bb85ee514b6fddc880243a8d4d2ffda15b401a9 /drivers/net/team | |
parent | d3038166bd5bad4df4f90f6c0021787cd9e7d3de (diff) | |
download | linux-5338f0f87dc98f9b2c6256dfb8fdb23fd449f0fd.tar.xz |
net: lpc-enet: fix error return code in lpc_mii_init()
[ Upstream commit 88ec7cb22ddde725ed4ce15991f0bd9dd817fd85 ]
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: b7370112f519 ("lpc32xx: Added ethernet driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/team')
0 files changed, 0 insertions, 0 deletions