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
hv_get_dns_info.sh
hv_kvp_daemon.c Tools: hv: fix snprintf warning in kvp_daemon 2017-08-16 09:16:29 -07:00
hv_set_ifconfig.sh
hv_vss_daemon.c Tools: hv: vss: Skip freezing filesystems backed by loop 2017-08-16 09:14:42 -07:00
lsvmbus
Makefile