projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ba5d3
)
KVM: VMX: fix sparse warning
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 28 Nov 2008 16:02:06 +0000
(17:02 +0100)
committer
Avi Kivity
<avi@redhat.com>
Wed, 31 Dec 2008 14:55:06 +0000
(16:55 +0200)
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 <hannes@hanneseder.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index
7ea4855
..
e446f23
100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-128,7
+128,7
@@
static struct vmcs_config {
u32 vmentry_ctrl;
} vmcs_config;
-struct vmx_capability {
+st
atic st
ruct vmx_capability {
u32 ept;
u32 vpid;
} vmx_capability;