[Linux-stm32] [PATCH] net: dwmac-sun8i: fix a missing check of of_get_phy_mode
Maxime Ripard
maxime.ripard at bootlin.com
Tue Mar 12 08:07:04 UTC 2019
On Tue, Mar 12, 2019 at 02:50:40AM -0500, Kangjie Lu wrote:
> 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>
Acked-by: Maxime Ripard <maxime.ripard at bootlin.com>
Thanks!
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20190312/7f20bff1/attachment.sig>
More information about the Linux-stm32
mailing list