]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PIC: fix use of uninitialised variable.
authorJamie Iles <jamie@jamieiles.com>
Thu, 30 Aug 2012 10:32:13 +0000 (11:32 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 4 Sep 2012 12:44:42 +0000 (15:44 +0300)
commit0869963b8fdd57b619ff194dbbf0fee207250842
treed894ee6d459a38746fa33563f3e0cb4a3c45144b
parentf7b2ede692567d1bbb58839936bba1919e73fdd2
KVM: PIC: fix use of uninitialised variable.

Commit b6c28e479a91 (KVM: PIC: call ack notifiers for irqs that are
dropped form irr) used an uninitialised variable to track whether an
appropriate apic had been found.  This could result in calling the ack
notifier incorrectly.

Cc: Gleb Natapov <gleb@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8259.c