[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160504.161444.466116308572489475.davem@davemloft.net>
Date: Wed, 04 May 2016 16:14:44 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, f.fainelli@...il.com
Subject: Re: [PATCH] mdio_bus: don't return NULL from mdiobus_scan()
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Tue, 03 May 2016 23:14:41 +0300
> I've finally noticed that mdiobus_scan() also returns either NULL or error
> value on failure. Return ERR_PTR(-ENODEV) instead of NULL since this is
> the error value already filtered out by the callers that want to ignore
> the MDIO address scan failure...
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied.
Powered by blists - more mailing lists