]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Define a macro RNDIS_AND_PPI_SIZE
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 6 Apr 2015 22:22:53 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 22:45:33 +0000 (18:45 -0400)
commitef3c4d28b9b3f87a155e1b4ec3c111fe7d0c9885
treedfca6e70440efd1db7f40d92196fbd4924a8f4c8
parent344090816ebe55ba616d9b25a610acc86584144c
hv_netvsc: Define a macro RNDIS_AND_PPI_SIZE

The sum of RNDIS msg and PPI struct sizes is used in multiple places, so we define
a macro for them.

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>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c