aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-02-10 07:30:20 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-29 12:49:17 -0400
commit82ffa13f7933cdc9aa3d22c9bc5c8d9c9f610af1 (patch)
tree14f9e67e4a7e4208d68bdc210e19fa94ceeb68a3 /arch/x86/kvm/svm/nested.c
parentdaed87b8767c005cb2b385c80e265edf82a2f64b (diff)
downloadlinux-82ffa13f7933cdc9aa3d22c9bc5c8d9c9f610af1.tar.gz
linux-82ffa13f7933cdc9aa3d22c9bc5c8d9c9f610af1.tar.bz2
linux-82ffa13f7933cdc9aa3d22c9bc5c8d9c9f610af1.zip
KVM: x86/mmu: constify uses of struct kvm_mmu_role_regs
struct kvm_mmu_role_regs is computed just once and then accessed. Use const to make this clearer, even though the const fields of struct kvm_mmu_role_regs already prevent (or make it harder...) to modify the contents of the struct. Reviewed-by: David Matlack <dmatlack@google.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions