projects
/
GitHub
/
moto-9609
/
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:
12a2856
)
xen: netfront: fix xennet_get_ethtool_stats()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 15 Mar 2011 04:05:40 +0000
(21:05 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 15 Mar 2011 04:05:40 +0000
(21:05 -0700)
commit
e9a799ea4a5551d2
(xen: netfront: ethtool stats fields should be
unsigned long) made rx_gso_checksum_fixup an unsigned long.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index 27cf72f26cbb647953c1f326981f29d146a15a42..5b399b54fef7058ecba5d5c6778246915a33ec18 100644
(file)
--- a/
drivers/net/xen-netfront.c
+++ b/
drivers/net/xen-netfront.c
@@
-1692,7
+1692,7
@@
static void xennet_get_ethtool_stats(struct net_device *dev,
int i;
for (i = 0; i < ARRAY_SIZE(xennet_stats); i++)
- data[i] = *(
int
*)(np + xennet_stats[i].offset);
+ data[i] = *(
unsigned long
*)(np + xennet_stats[i].offset);
}
static void xennet_get_strings(struct net_device *dev, u32 stringset, u8 * data)