KVM: fix spectrev1 gadgets
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Apr 2019 09:16:47 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:42:22 +0000 (19:42 +0200)
commit559e2696d2f47a3575e9550f101a7e59e30b1b38
treec7845b606cfb64e7598fef325611c091ba944f58
parenta4dc47580642715309454715ab17d8688e5aa8e0
KVM: fix spectrev1 gadgets

[ Upstream commit 1d487e9bf8ba66a7174c56a0029c54b1eca8f99c ]

These were found with smatch, and then generalized when applicable.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/lapic.c
include/linux/kvm_host.h
virt/kvm/irqchip.c
virt/kvm/kvm_main.c