Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

From: Russell King - ARM Linux admin
Date: Sun Nov 29 2020 - 06:31:21 EST


On Sun, Nov 29, 2020 at 10:52:45AM +0000, Russell King - ARM Linux admin wrote:
> There are other issues too.

This is also wrong:

+ if (port->ndev && port->ndev->phydev)
+ status->link = port->ndev->phydev->link;

phylink already deals with that situation.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!