aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2016-10-13 15:45:20 +0000
committerRadim Krčmář <[email protected]>2016-10-20 12:54:11 +0000
commit8678654e3c7ad7b0f4beb03fa89691279cba71f9 (patch)
tree7f43be669d3cf478b9691203110fc0368736e769 /scripts/gcc-plugins/gcc-common.h
parentkvm/x86: Fix unused variable warning in kvm_timer_init() (diff)
downloadkernel-8678654e3c7ad7b0f4beb03fa89691279cba71f9.tar.gz
kernel-8678654e3c7ad7b0f4beb03fa89691279cba71f9.zip
kvm: x86: memset whole irq_eoi
gcc 7 warns: arch/x86/kvm/ioapic.c: In function 'kvm_ioapic_reset': arch/x86/kvm/ioapic.c:597:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] And it is right. Memset whole array using sizeof operator. Signed-off-by: Jiri Slaby <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Radim Krčmář <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Paolo Bonzini <[email protected]> [Added x86 subject tag] Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions