linux/tools/hv
Olaf Hering 3f2baa8a7d Tools: hv: update buffer handling in hv_fcopy_daemon
Currently this warning is triggered when compiling hv_fcopy_daemon:

hv_fcopy_daemon.c:216:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
    kernel_modver = *(__u32 *)buffer;

Convert the send/receive buffer to a union and pass individual members as
needed. This also gives the correct size for the buffer.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-16 09:16:29 -07:00
..
bondvf.sh tools: hv: set hotplug for VF on Suse 2017-06-02 14:16:15 -04:00
hv_fcopy_daemon.c Tools: hv: update buffer handling in hv_fcopy_daemon 2017-08-16 09:16:29 -07:00
hv_get_dhcp_info.sh Tools: hv: Add an example script to retrieve dhcp state 2012-09-10 16:42:32 -07:00
hv_get_dns_info.sh Tools: hv: Add an example script to retrieve DNS entries 2012-09-04 15:59:27 -07:00
hv_kvp_daemon.c Tools: hv: fix snprintf warning in kvp_daemon 2017-08-16 09:16:29 -07:00
hv_set_ifconfig.sh tools: hv: Fix how ifcfg-* file is created 2013-01-17 11:47:21 -08:00
hv_vss_daemon.c Tools: hv: vss: Skip freezing filesystems backed by loop 2017-08-16 09:14:42 -07:00
lsvmbus tools: hv: lsvmbus: add pci pass-through UUID 2016-05-01 09:23:14 -07:00
Makefile tools: hv: remove unnecessary link flag 2016-11-07 10:01:17 +01:00