From: Avi Kivity Subject: [PATCH 13/36] KVM: VMX: fix sparse warning Date: Sun, 14 Dec 2008 10:06:46 +0200 Message-ID: <1229242029-13410-14-git-send-email-avi@redhat.com> References: <1229242029-13410-1-git-send-email-avi@redhat.com> Cc: linux-kernel@vger.kernel.org, Hannes Eder To: kvm@vger.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:59939 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754096AbYLNIHR (ORCPT ); Sun, 14 Dec 2008 03:07:17 -0500 In-Reply-To: <1229242029-13410-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: From: Hannes Eder 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 --- arch/x86/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 7ea4855..e446f23 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; -- 1.6.0.3