[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190312.145131.1160021095999433392.davem@davemloft.net>
Date: Tue, 12 Mar 2019 14:51:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kjlu@....edu
Cc: pakki001@....edu, sergei.shtylyov@...entembedded.com,
vladimir_zapolskiy@...tor.com, geert+renesas@...der.be,
vladimir.barinov@...entembedded.com, chris.brandt@...esas.com,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] net: sh_eth: fix a missing check of of_get_phy_mode
From: Kangjie Lu <kjlu@....edu>
Date: Tue, 12 Mar 2019 02:43:18 -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 NULL of it fails.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
Applied with Fixes: tag added.
Powered by blists - more mailing lists