Skip to contentSkip to conversation

net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset

PATCH Applied Florian Fainelli 2 participants 2 messages Nov 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset

Introduced a typo making the driver no longer build, *sigh*.

Fixes 42469bf5d9bb ("net: bcm63xx_enet: Utilize phy_ethtool_nway_reset")
---
 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/bcm63xx_enet.c +1 -1
index a43ab90c051e..3b14d5144228 100644
@@ -1435,7 +1435,7 @@ static int bcm_enet_nway_reset(struct net_device *dev)
 
 	priv = netdev_priv(dev);
 	if (priv->has_phy)
-		return phy_ethtool_nway_reset(dev),
+		return phy_ethtool_nway_reset(dev);
 
 	return -EOPNOTSUPP;
 }
Signature · 1 line
2.9.3