diff options
author | Brian Norris <computersforpeace@gmail.com> | 2016-10-29 05:05:25 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-10-29 05:05:25 +0300 |
commit | 0e2ce9d3fcba5f92dd6c2b27d82690e49d0c0854 (patch) | |
tree | a3413237c8dee15dfe620848fecb37408a096345 /arch/x86/kvm/ioapic.c | |
parent | 30656167bd2347bf867a09cbae2705bd927d3983 (diff) | |
parent | 8ff0513bdcdd71e84aa561cce216675d43fb41b8 (diff) | |
download | linux-0e2ce9d3fcba5f92dd6c2b27d82690e49d0c0854.tar.xz |
Merge tag 'nand/fixes-for-4.9-rc3' of github.com:linux-nand/linux
From Boris:
"""
Three simple fixes:
- the first one is fixing a non-critical bug in the gpmi driver
- the second one is fixing a bug in the 'automatic NAND timings
selection' feature introduced in 4.9-rc1
- the last one is fixing a false positive uninitialized-var warning
"""
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/x86/kvm/ioapic.c')
-rw-r--r-- | arch/x86/kvm/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/ioapic.c b/arch/x86/kvm/ioapic.c index c7220ba94aa7..1a22de70f7f7 100644 --- a/arch/x86/kvm/ioapic.c +++ b/arch/x86/kvm/ioapic.c @@ -594,7 +594,7 @@ static void kvm_ioapic_reset(struct kvm_ioapic *ioapic) ioapic->irr = 0; ioapic->irr_delivered = 0; ioapic->id = 0; - memset(ioapic->irq_eoi, 0x00, IOAPIC_NUM_PINS); + memset(ioapic->irq_eoi, 0x00, sizeof(ioapic->irq_eoi)); rtc_irq_eoi_tracking_reset(ioapic); } |