diff options
author | Sergei Shtylyov <[email protected]> | 2016-05-01 01:47:36 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-05-03 15:03:09 -0400 |
commit | ce24c2b8a904753701fe4df313b4cbc2b0649e3e (patch) | |
tree | 980a803e8bbc626b1a565b792b280c35d4621847 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6dd745425807dc977bbea810ef703b935002fcc3 (diff) |
macb: fix mdiobus_scan() error check
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions