From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH kvm] KVM: x86: vcpu_to_pi_desc() can be static Date: Fri, 25 Sep 2015 21:18:55 +0800 Message-ID: <20150925131855.GA117504@xian> References: <201509252125.hr9ZVxHY%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, Paolo Bonzini , Alex Williamson , kvm@vger.kernel.org To: Feng Wu Return-path: Received: from mga14.intel.com ([192.55.52.115]:28509 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756407AbbIYNUK (ORCPT ); Fri, 25 Sep 2015 09:20:10 -0400 Content-Disposition: inline In-Reply-To: <201509252125.hr9ZVxHY%fengguang.wu@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Fengguang Wu --- vmx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4480752..c1833e1 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -606,7 +606,7 @@ static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) return container_of(vcpu, struct vcpu_vmx, vcpu); } -struct pi_desc *vcpu_to_pi_desc(struct kvm_vcpu *vcpu) +static struct pi_desc *vcpu_to_pi_desc(struct kvm_vcpu *vcpu) { return &(to_vmx(vcpu)->pi_desc); } @@ -10344,8 +10344,8 @@ static void vmx_enable_log_dirty_pt_masked(struct kvm *kvm, * @set: set or unset PI * returns 0 on success, < 0 on failure */ -int vmx_update_pi_irte(struct kvm *kvm, unsigned int host_irq, - uint32_t guest_irq, bool set) +static int vmx_update_pi_irte(struct kvm *kvm, unsigned int host_irq, + uint32_t guest_irq, bool set) { struct kvm_kernel_irq_routing_entry *e; struct kvm_irq_routing_table *irq_rt;