projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24342c3
)
mv643xx_eth: fix 'netdev_priv(dev) == dev->priv' assumption
author
Lennert Buytenhek
<buytenh@wantstofly.org>
Sun, 24 Aug 2008 03:59:16 +0000
(
05:59
+0200)
committer
Lennert Buytenhek
<buytenh@marvell.com>
Fri, 5 Sep 2008 04:33:57 +0000
(06:33 +0200)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 0a18b9e96da152db6c55eaa0026cc578863226eb..deee66dcd0adee9793947c9dc4d6b7a0b2dde24a 100644
(file)
--- a/
drivers/net/mv643xx_eth.c
+++ b/
drivers/net/mv643xx_eth.c
@@
-1277,7
+1277,7
@@
static void mv643xx_eth_get_ethtool_stats(struct net_device *dev,
struct ethtool_stats *stats,
uint64_t *data)
{
- struct mv643xx_eth_private *mp =
dev->priv
;
+ struct mv643xx_eth_private *mp =
netdev_priv(dev)
;
int i;
mib_counters_update(mp);