Skip to contentSkip to conversation

staging: mt7621-eth: fix line over 80 char in mtk_set_link_ksettings()

PATCH In review Jefferson Capovilla 2 participants 2 messages May 27, 2018 – May 31, 2018

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

PATCH 1/1 staging: mt7621-eth: fix line over 80 char in mtk_set_link_ksettings()

Fix 'line over 80 characters' issue found by checkpatch.pl script in mtk_set_link_ksettings().

---
 drivers/staging/mt7621-eth/ethtool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/mt7621-eth/ethtool.c +2 -1
index 38ba0c0..b565d2a 100644
@@ -52,7 +52,8 @@ static int mtk_set_link_ksettings(struct net_device *dev,
 			mac->phy_dev = mac->hw->phy->phy[cmd->base.phy_address];
 			mac->phy_flags = MTK_PHY_FLAG_PORT;
 		} else if (mac->hw->mii_bus) {
-			mac->phy_dev = mdiobus_get_phy(mac->hw->mii_bus, cmd->base.phy_address);
+			mac->phy_dev = mdiobus_get_phy(mac->hw->mii_bus,
+						       cmd->base.phy_address);
 			if (!mac->phy_dev)
 				return -ENODEV;
 			mac->phy_flags = MTK_PHY_FLAG_ATTACH;
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 7 lines · Jefferson Capovilla

Fix 'line over 80 characters' issue found by checkpatch.pl script in mtk_set_link_ksettings().

---
 drivers/staging/mt7621-eth/ethtool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

This patch does not apply to my staging-next branch at all :(

Please fix up and resend.

thanks,

greg k-h