Commit efff9e53 authored by Hannes Eder's avatar Hannes Eder Committed by Avi Kivity

KVM: VMX: fix sparse warning

Impact: make global function static

  arch/x86/kvm/vmx.c:134:3: warning: symbol 'vmx_capability' was not declared. Should it be static?
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent e8ba5d31
...@@ -128,7 +128,7 @@ static struct vmcs_config { ...@@ -128,7 +128,7 @@ static struct vmcs_config {
u32 vmentry_ctrl; u32 vmentry_ctrl;
} vmcs_config; } vmcs_config;
struct vmx_capability { static struct vmx_capability {
u32 ept; u32 ept;
u32 vpid; u32 vpid;
} vmx_capability; } vmx_capability;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment