]> 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)
commit665ba0f63aab126969f9d1af16807ef7191281e2
treea4f8b209b14181d57ead52a8dee4c50d4881ae82
parent10c24eb7072ec771ed40de75f0d8607e8b79ea24
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