[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <571E73ED.7080603@gmail.com>
Date: Mon, 25 Apr 2016 12:45:49 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
netdev@...r.kernel.org
Cc: arnd@...db.de
Subject: Re: [PATCH 1/5] phylib: don't return NULL from get_phy_device()
On 24/04/16 10:25, Sergei Shtylyov wrote:
> Arnd Bergmann asked that get_phy_device() returns either NULL or the error
> value, not both on error. Do as he said, return ERR_PTR(-ENODEV) instead
> of NULL when the PHY ID registers read as all ones.
>
> Suggested-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists