diff options
Diffstat (limited to 'drivers/net/xen-netfront.c')
-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 27cf72f26cbb..5b399b54fef7 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, | |||
1692 | int i; | 1692 | int i; |
1693 | 1693 | ||
1694 | for (i = 0; i < ARRAY_SIZE(xennet_stats); i++) | 1694 | for (i = 0; i < ARRAY_SIZE(xennet_stats); i++) |
1695 | data[i] = *(int *)(np + xennet_stats[i].offset); | 1695 | data[i] = *(unsigned long *)(np + xennet_stats[i].offset); |
1696 | } | 1696 | } |
1697 | 1697 | ||
1698 | static void xennet_get_strings(struct net_device *dev, u32 stringset, u8 * data) | 1698 | static void xennet_get_strings(struct net_device *dev, u32 stringset, u8 * data) |