diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-03-14 21:05:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-14 21:05:40 -0700 |
commit | 48f26d514ed14f717ebd49439894a9637e0353a9 (patch) | |
tree | 4e34f420a1bfd75b666454c1e25b530cbac9a592 /drivers/net | |
parent | 12a2856b604476c27d85a5f9a57ae1661fc46019 (diff) | |
download | op-kernel-dev-48f26d514ed14f717ebd49439894a9637e0353a9.zip op-kernel-dev-48f26d514ed14f717ebd49439894a9637e0353a9.tar.gz |
xen: netfront: fix xennet_get_ethtool_stats()
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 27cf72f..5b399b5 100644 --- 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) |