linux/drivers/net/hyperv
Haiyang Zhang 00ca8f0c9d hyperv: Fix a compiler warning in netvsc_send()
Fixed: warning: cast from pointer to integer of different size

The Hyper-V hosts always use 64 bit request id. The guests can have 32 or 64
bit pointers which equal to the ulong type size. So we cast it to ulong type.
And, assigning 32bit integer to 64 bit variable works fine.

The VMBus returns the same id in the completion packet. But the value has no
effect on the host side.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
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>
2013-04-29 14:06:32 -04:00
..
hyperv_net.h net/hyperv: fix wrong length of mac address 2013-01-19 11:01:23 -05:00
Kconfig
Makefile
netvsc_drv.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
netvsc.c hyperv: Fix a compiler warning in netvsc_send() 2013-04-29 14:06:32 -04:00
rndis_filter.c hyperv: Fix RNDIS send_completion code path 2013-04-08 12:15:17 -04:00