[PATCH net-next] net: lpc-enet: fix error return code in lpc_mii_init()

David Miller davem at davemloft.net
Fri May 1 03:29:53 UTC 2020


From: Wei Yongjun <weiyongjun1 at huawei.com>
Date: Mon, 27 Apr 2020 12:15:07 +0000

> 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 at huawei.com>

Applied.


More information about the dri-devel mailing list