hv_netvsc: change member name of struct netvsc_stats
authorsixiao@microsoft.com <sixiao@microsoft.com>
Fri, 15 May 2015 09:33:03 +0000 (02:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 03:37:38 +0000 (23:37 -0400)
commit4b02b58b52fab385e120c4b4f0d90f5f3076352d
tree668b56e1b295ef19ab0d1b5419cbec25b79f244a
parent45d4122ca7cdb3a4b91f392605cd22cfa75f1d99
hv_netvsc: change member name of struct netvsc_stats

Currently the struct netvsc_stats has a member s_sync
of type u64_stats_sync.
This definition will break kernel build as the macro
netdev_alloc_pcpu_stats requires this member name to be syncp.
(see netdev_alloc_pcpu_stats definition in ./include/linux/netdevice.h)

This patch changes netvsc_stats's member name from s_sync to syncp to fix
the build break.

Signed-off-by: Simon Xiao <sixiao@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c
This page took 0.02791 seconds and 5 git commands to generate.