[Linux-stm32] [PATCH] net: dwmac-sun8i: fix a missing check of of_get_phy_mode

David Miller davem at davemloft.net
Tue Mar 12 21:54:43 UTC 2019


From: Kangjie Lu <kjlu at umn.edu>
Date: Tue, 12 Mar 2019 02:50:40 -0500

> of_get_phy_mode may fail and return a negative error code;
> the fix checks the return value of of_get_phy_mode and
> returns -EINVAL of it fails.
> 
> Signed-off-by: Kangjie Lu <kjlu at umn.edu>

Applied.



More information about the Linux-stm32 mailing list