]> 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)
commit7f45b266dfcdc6a1f1a1bc870ceb08b7f81c3fc4
treedfca6e70440efd1db7f40d92196fbd4924a8f4c8
parentb7d61bec47b049aa7601e065ed0ac3ff79271479
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