Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3718837ybz; Mon, 27 Apr 2020 22:12:07 -0700 (PDT) X-Google-Smtp-Source: APiQypIQqNAvlQMzz2x7cd02U3rFecoJR+Fvjdd7+hreYjNQzEkDZGNScx0UOpWOTj1smXWD7175 X-Received: by 2002:a17:906:add7:: with SMTP id lb23mr24171007ejb.6.1588050727667; Mon, 27 Apr 2020 22:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588050727; cv=none; d=google.com; s=arc-20160816; b=AfQOqR/0e6CA+dA9W2bPW0Qmu7sN1f5p0FzdnsKvSoPkClc3zmYMwWYWNIoJnmCUN0 WCaUv26JLTZfDZWKMxLZU6JFLb/tLT8wFd4G6FjqXACTaGCx8rM9MTPEO9Sa+YNx1eNG MyuNHXd25M3KObq626KzKtglY94jLQMNH4X5XUS/SJ9pKt6SFtpgBEow1xalURXq4lwd J6FYH7cYiaMNiZ//c9sRLfHxsWTxuvi+5kJrCRyuz9BQolrKlcCRVEa2sYbgBrXZQ53M KHds2X/sx2Urp7IDo7diXMqGuGxoluCtaWURbiLmEn/0q4FmXiZHlJzwDTiYg+/SQjq+ YABQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=Ql0d70dB3VuegJSWWtrhSb1naM+4yFTALBn7gpugRXE=; b=Z+C3ScED0ISSjbyKdrGSWiobrmLaH2IMduMyOxWQ8/Pj93qDqoPWrPuG+bP7Mnaj+l fx25C3qw/Zef+EBC211c38mWSotuENAPY/7r6gJsMFIWnXaGq8j3XGPXG/OHjVmgf4q+ tIdXIcYtI1A/+wRaB/TSFdMQ5BSjdsyvF2Vk13zlbRUZPFlDa3ZerxVzzIEaYsIooH9a FNwTdVh4U4VKbUbvF7T6NNJ6E6ebJKlvW0Ne9bwwKWcyMpvSUw/UiyRagtY99XxgeJKX /CbZMpZqpgxEwd1E3n0QH45trbiHGAzNN9n2x3Quo7ZAvziGv8DUcpwhVypfl31gdrSR 6Osw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si890253edx.330.2020.04.27.22.11.44; Mon, 27 Apr 2020 22:12:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgD1FHN (ORCPT + 99 others); Tue, 28 Apr 2020 01:07:13 -0400 Received: from mga07.intel.com ([134.134.136.100]:28385 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbgD1FHM (ORCPT ); Tue, 28 Apr 2020 01:07:12 -0400 IronPort-SDR: KK0D1eBQKzvWp2vlkrTGbugLjpQObnNuvH3ABzwy7VtZAk/2SVTYKp2j4TbcxwFkTF7NBE7ecK wFGQYr6xld2g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 22:07:12 -0700 IronPort-SDR: LhndOMvmy3OMlNNwE0WpgyY+lTgFSgbB/3QGupkQt5Y2JaSUXRuxq6csNWSqk2GUAkUKeMnoMI g9e3av3P5FdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,326,1583222400"; d="scan'208";a="432049751" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Apr 2020 22:07:09 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1jTISa-000Gk9-UA; Tue, 28 Apr 2020 13:07:08 +0800 Date: Tue, 28 Apr 2020 13:06:27 +0800 From: kbuild test robot To: Like Xu , Paolo Bonzini Cc: kbuild-all@lists.01.org, Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, wei.w.wang@intel.com, ak@linux.intel.com Subject: [RFC PATCH] KVM: x86/pmu: kvm_pmu_lbr_cleanup() can be static Message-ID: <20200428050627.GA26449@41ada6197895> References: <20200423081412.164863-10-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200423081412.164863-10-like.xu@linux.intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kbuild test robot --- pmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c index 7dad899850bb3..b9b6d16651c8b 100644 --- a/arch/x86/kvm/pmu.c +++ b/arch/x86/kvm/pmu.c @@ -452,7 +452,7 @@ static inline bool pmc_speculative_in_use(struct kvm_pmc *pmc) return pmc->eventsel & ARCH_PERFMON_EVENTSEL_ENABLE; } -void kvm_pmu_lbr_cleanup(struct kvm_vcpu *vcpu) +static void kvm_pmu_lbr_cleanup(struct kvm_vcpu *vcpu) { if (kvm_x86_ops.pmu_ops->lbr_cleanup) kvm_x86_ops.pmu_ops->lbr_cleanup(vcpu);