Skip to contentSkip to conversation

: sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.

PATCH In review David Miller 1 participant 1 message May 27, 2009

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 4/6 : sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.

---
 drivers/net/sh_eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/sh_eth.c +1 -1
index cdd73b9..0709b75 100644
@@ -964,7 +964,7 @@ static void sh_eth_adjust_link(struct net_device *ndev)
 static int sh_eth_phy_init(struct net_device *ndev)
 {
 	struct sh_eth_private *mdp = netdev_priv(ndev);
-	char phy_id[BUS_ID_SIZE];
+	char phy_id[MII_BUS_ID_SIZE + 3];
 	struct phy_device *phydev = NULL;
 
 	snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT,
Signature · 1 line
1.6.3