aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2014-12-19 18:25:18 -0800
committerDavid S. Miller <davem@davemloft.net>2014-12-22 16:11:11 -0500
commitc51ed18257e731e15541324cd58bd3761d9d3b1c (patch)
tree5760efa7e3bf0d0cd991176290017dfb39fc02a6 /drivers/net/hyperv/hyperv_net.h
parentvirtio_net: Fix napi poll list corruption (diff)
downloadlinux-dev-c51ed18257e731e15541324cd58bd3761d9d3b1c.tar.xz
linux-dev-c51ed18257e731e15541324cd58bd3761d9d3b1c.zip
hyperv: Fix some variable name typos in send-buffer init/revoke
The changed names are union fields with the same size, so the existing code still works. But, we now update these variables to the correct names. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 2f48f790c9b4..384ca4f4de4a 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -590,6 +590,7 @@ struct nvsp_message {
#define NETVSC_RECEIVE_BUFFER_ID 0xcafe
+#define NETVSC_SEND_BUFFER_ID 0
#define NETVSC_PACKET_SIZE 4096