[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180527175908.GA11653@jefcap-VirtualBox>
Date: Sun, 27 May 2018 14:59:08 -0300
From: Jefferson Capovilla <jefcap@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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().
Signed-off-by: Jefferson Capovilla <jefcap@...il.com>
---
drivers/staging/mt7621-eth/ethtool.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 38ba0c0..b565d2a 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -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;
--
2.7.4
Powered by blists - more mailing lists