commit | 88ec7cb22ddde725ed4ce15991f0bd9dd817fd85 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 27 12:15:07 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 20:29:39 2020 -0700 |
tree | f3acf9c224d64a96cd66a1b97c0c3862297aa708 | |
parent | f8d530ac29fe9248f5e58ca5bcf4c368f8393ccf [diff] |
net: lpc-enet: fix error return code in lpc_mii_init() 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>