Content-Type: multipart/mixed; boundary="===============7576821159671682841==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] KVM: x86: vmx_set_user_msr_intercept() can be static Date: Wed, 19 Aug 2020 09:12:12 +0800 Message-ID: <20200819011212.GA51816@07257158eb45> In-Reply-To: <20200818211533.849501-8-aaronlewis@google.com> List-Id: --===============7576821159671682841== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- svm/svm.c | 2 +- vmx/vmx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c index c49d121ee1021..144724c0b4111 100644 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@ -633,7 +633,7 @@ static void set_user_msr_interception(struct kvm_vcpu *= vcpu, u32 msr, int read, __set_msr_interception(msrpm, msr, read, write, offset); } = -void svm_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr) +static void svm_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr) { set_user_msr_interception(vcpu, msr, 0, 0); } diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index 12478ea7aac71..20f432c698bcd 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c @@ -3820,7 +3820,7 @@ static void vmx_update_msr_bitmap_x2apic(struct kvm_v= cpu *vcpu, } } = -void vmx_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr) +static void vmx_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr) { vmx_enable_intercept_for_msr(vcpu, msr, MSR_TYPE_RW); } --===============7576821159671682841==--