[PATCH net v2 0/2] net: phy: MDIO bus scanning fixes

From: Florian Fainelli
Date: Fri Jun 19 2020 - 14:48:10 EST


Hi all,

This patch series fixes two problems with the current MDIO bus scanning
logic which was identified while moving from 4.9 to 5.4 on devices that
do rely on scanning the MDIO bus at runtime because they use pluggable
cards.

Changes in v2:

- added comment explaining the special value of -ENODEV
- added Andrew's Reviewed-by tag

Florian Fainelli (2):
of: of_mdio: Correct loop scanning logic
net: phy: Check harder for errors in get_phy_id()

drivers/net/phy/phy_device.c | 6 ++++--
drivers/of/of_mdio.c | 9 +++++++--
2 files changed, 11 insertions(+), 4 deletions(-)

--
2.17.1