[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdXTbMG+yQhg15f4afHyuFeTuaWY2-XB5yPmLqrWSY1AsA@mail.gmail.com>
Date: Tue, 12 Mar 2019 09:18:13 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Kangjie Lu <kjlu@....edu>
Cc: pakki001@....edu,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
"David S. Miller" <davem@...emloft.net>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Vladimir Barinov <vladimir.barinov@...entembedded.com>,
Chris Brandt <chris.brandt@...esas.com>,
netdev <netdev@...r.kernel.org>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] net: sh_eth: fix a missing check of of_get_phy_mode
Hi Kangjie,
On Tue, Mar 12, 2019 at 8:43 AM Kangjie Lu <kjlu@....edu> 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 NULL of it fails.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
Thanks for the update!
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Tested-by: Geert Uytterhoeven <geert+renesas@...der.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists