summaryrefslogtreecommitdiffstats
path: root/kernel/configs/android-base.config
diff options
context:
space:
mode:
authorOlaf Hering2017-08-11 00:45:16 +0200
committerGreg Kroah-Hartman2017-08-16 18:16:29 +0200
commit3f2baa8a7d2efaa836f1dc4b8ee8c3ca4ba9e101 (patch)
tree6cd6821ba8f7de289eaea3b5951dbee1fcf57d78 /kernel/configs/android-base.config
parentTools: hv: fix snprintf warning in kvp_daemon (diff)
downloadkernel-qcow2-linux-3f2baa8a7d2efaa836f1dc4b8ee8c3ca4ba9e101.tar.gz
kernel-qcow2-linux-3f2baa8a7d2efaa836f1dc4b8ee8c3ca4ba9e101.tar.xz
kernel-qcow2-linux-3f2baa8a7d2efaa836f1dc4b8ee8c3ca4ba9e101.zip
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>
Diffstat (limited to 'kernel/configs/android-base.config')
0 files changed, 0 insertions, 0 deletions