diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-10-13 17:45:20 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-10-20 14:54:11 +0200 |
commit | 8678654e3c7ad7b0f4beb03fa89691279cba71f9 (patch) | |
tree | 7f43be669d3cf478b9691203110fc0368736e769 /arch/arm/mach-vt8500 | |
parent | kvm/x86: Fix unused variable warning in kvm_timer_init() (diff) | |
download | linux-8678654e3c7ad7b0f4beb03fa89691279cba71f9.tar.xz linux-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 <jslaby@suse.cz>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: x86@kernel.org
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[Added x86 subject tag]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/arm/mach-vt8500')
0 files changed, 0 insertions, 0 deletions