Re: [net-next] net: dsa: Avoid null pointer when failing to connect to PHY

2019-03-26 Thread David Miller
From: Vladimir Oltean Date: Sun, 24 Mar 2019 01:24:07 +0200 > When phylink_of_phy_connect fails, dsa_slave_phy_setup tries to save the > day by connecting to an alternative PHY, none other than a PHY on the > switch's internal MDIO bus, at an address equal to the port's index. > > However this d

Re: [net-next] net: dsa: Avoid null pointer when failing to connect to PHY

2019-03-23 Thread Florian Fainelli
On 3/23/2019 4:24 PM, Vladimir Oltean wrote: > When phylink_of_phy_connect fails, dsa_slave_phy_setup tries to save the > day by connecting to an alternative PHY, none other than a PHY on the > switch's internal MDIO bus, at an address equal to the port's index. > > However this does not take i