Re: [PATCH] macb: fix mdiobus_scan() error check

2016-05-03 Thread David Miller
From: Sergei Shtylyov Date: Sun, 01 May 2016 01:47:36 +0300 > Now mdiobus_scan() returns ERR_PTR(-ENODEV) instead of NULL if the PHY > device ID was read as all ones. As this was not an error before, this > value should be filtered out now in this driver. >

Re: [PATCH] macb: fix mdiobus_scan() error check

2016-05-02 Thread Nicolas Ferre
Le 01/05/2016 00:47, Sergei Shtylyov a écrit : > Now mdiobus_scan() returns ERR_PTR(-ENODEV) instead of NULL if the PHY > device ID was read as all ones. As this was not an error before, this > value should be filtered out now in this driver. > > Fixes: b74766a0a0fe ("phylib: don't return NULL

Re: [PATCH] macb: fix mdiobus_scan() error check

2016-05-01 Thread Florian Fainelli
Le 30/04/2016 15:47, Sergei Shtylyov a écrit : > Now mdiobus_scan() returns ERR_PTR(-ENODEV) instead of NULL if the PHY > device ID was read as all ones. As this was not an error before, this > value should be filtered out now in this driver. > > Fixes: b74766a0a0fe ("phylib: don't return NULL

[PATCH] macb: fix mdiobus_scan() error check

2016-04-30 Thread Sergei Shtylyov
Now mdiobus_scan() returns ERR_PTR(-ENODEV) instead of NULL if the PHY device ID was read as all ones. As this was not an error before, this value should be filtered out now in this driver. Fixes: b74766a0a0fe ("phylib: don't return NULL from get_phy_device()") Signed-off-by: Sergei Shtylyov