* [PATCH 4/6]: sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.
@ 2009-05-27 4:39 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2009-05-27 4:39 UTC (permalink / raw)
To: netdev; +Cc: kay.sievers, greg
Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/net/sh_eth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index cdd73b9..0709b75 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -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,
--
1.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 4:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 4:39 [PATCH 4/6]: sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).