]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: warn on incorrectly NULL members of kvm_x86_ops
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Dec 2021 13:12:48 +0000 (08:12 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Feb 2022 17:31:43 +0000 (12:31 -0500)
commitcb47f8efa164e2541d688fcd1efa5625c2f33304
treea4f8b209b14181d57ead52a8dee4c50d4881ae82
parent56b417d249bcfb5a576371d643134c31141b37ea
KVM: x86: warn on incorrectly NULL members of kvm_x86_ops

Use the newly corrected KVM_X86_OP annotations to warn about possible
NULL pointer dereferences as soon as the vendor module is loaded.

Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h