Messages in this thread | | | Date | Tue, 12 Mar 2019 09:07:04 +0100 | From | Maxime Ripard <> | Subject | Re: [PATCH] net: dwmac-sun8i: fix a missing check of of_get_phy_mode |
| |
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@umn.edu>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Thanks! Maxime
-- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com [unhandled content-type:application/pgp-signature] | |