summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorkernel test robot <lkp@intel.com>2020-09-28 23:37:14 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-29 05:44:37 -0400
commit6a2e0923b2df5c00d1c691b0393daf1a87ffb924 (patch)
tree47f00b90407661bcd8ee399618fa654ace384a57 /arch
parent0c899c25d754ae386940f0e1b86b31d3921480b6 (diff)
KVM: VMX: vmx_uret_msrs_list[] can be static
Fixes: 14a61b642de9 ("KVM: VMX: Rename "vmx_msr_index" to "vmx_uret_msrs_list"") Signed-off-by: kernel test robot <lkp@intel.com> Message-Id: <20200928153714.GA6285@a3a878002045> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 4551a7e80ebc..f7b6677e2a51 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -457,7 +457,7 @@ static unsigned long host_idt_base;
* support this emulation, IA32_STAR must always be included in
* vmx_uret_msrs_list[], even in i386 builds.
*/
-const u32 vmx_uret_msrs_list[] = {
+static const u32 vmx_uret_msrs_list[] = {
#ifdef CONFIG_X86_64
MSR_SYSCALL_MASK, MSR_LSTAR, MSR_CSTAR,
#endif