projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21a8cfe
)
sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead.
author
David S. Miller
<davem@davemloft.net>
Wed, 27 May 2009 04:11:09 +0000
(21:11 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 27 May 2009 04:11:09 +0000
(21:11 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sh_eth.c
b/drivers/net/sh_eth.c
index cdd73b9c553d32d484f2e135ecf8ad175dabc3d0..0709b7512467d3bf3d731931ffb1137c82f88d8a 100644
(file)
--- 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,