From: Hannes Eder Date: Fri, 28 Nov 2008 16:02:06 +0000 (+0100) Subject: KVM: VMX: fix sparse warning X-Git-Tag: v2.6.29-rc1~539^2~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=efff9e538f6bfa8ee2ca03f7e9a55d98df115186;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 7ea485543cf..e446f232588 100644 --- 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 { +static struct vmx_capability { u32 ept; u32 vpid; } vmx_capability;