diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-01-29 04:14:36 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-13 21:16:41 +0300 |
| commit | e1a31ca28c9d1c36dd4e40468436b9ebce14e4d2 (patch) | |
| tree | b3465a26f09404b1d092124f53d5b611a0b634c2 /scripts/const_structs.checkpatch | |
| parent | a8b2924676ec42d76597f849baba31acc3ba1bfc (diff) | |
| download | linux-e1a31ca28c9d1c36dd4e40468436b9ebce14e4d2.tar.xz | |
KVM: x86: Make "external SPTE" ops that can fail RET0 static calls
Define kvm_x86_ops .link_external_spt(), .set_external_spte(), and
.free_external_spt() as RET0 static calls so that an unexpected call to a
a default operation doesn't consume garbage.
Fixes: 77ac7079e66d ("KVM: x86/tdp_mmu: Propagate building mirror page tables")
Fixes: 94faba8999b9 ("KVM: x86/tdp_mmu: Propagate tearing down mirror page tables")
Reviewed-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260129011517.3545883-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
