mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: Hannes Eder <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ static struct vmcs_config {
|
||||
u32 vmentry_ctrl;
|
||||
} vmcs_config;
|
||||
|
||||
struct vmx_capability {
|
||||
static struct vmx_capability {
|
||||
u32 ept;
|
||||
u32 vpid;
|
||||
} vmx_capability;
|
||||
|
||||
Reference in New Issue
Block a user