summaryrefslogtreecommitdiff
path: root/virt/kvm/dirty_ring.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-09-06 12:52:23 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-06 13:56:38 +0300
commit4ac214574d2d83b7ef20c603d75f1937c912bfd6 (patch)
tree3a8b23384b8235a14e5b5225d7d817fb9ee355b9 /virt/kvm/dirty_ring.c
parenta3cf527e70bd1553500746ef2f38db41e2af1d9e (diff)
downloadlinux-4ac214574d2d83b7ef20c603d75f1937c912bfd6.tar.xz
KVM: MMU: mark role_regs and role accessors as maybe unused
It is reasonable for these functions to be used only in some configurations, for example only if the host is 64-bits (and therefore supports 64-bit guests). It is also reasonable to keep the role_regs and role accessors in sync even though some of the accessors may be used only for one of the two sets (as is the case currently for CR4.LA57).. Because clang reports warnings for unused inlines declared in a .c file, mark both sets of accessors as __maybe_unused. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/dirty_ring.c')
0 files changed, 0 insertions, 0 deletions