Skip to contentSkip to conversation

KVM: x86: Remove a spurious export of a static function

PATCH Applied Sean Christopherson 3 participants 3 messages Nov 22, 2019 – Nov 23, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: x86: Remove a spurious export of a static function

A recent change inadvertantly exported a static function, which results in modpost throwing a warning. Fix it.

Fixes cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")
---
 arch/x86/kvm/x86.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kvm/x86.c +0 -1
index a256e09f321a..3e9ab2d1ea77 100644
@@ -1329,7 +1329,6 @@ static u64 kvm_get_arch_capabilities(void)
 
 	return data;
 }
-EXPORT_SYMBOL_GPL(kvm_get_arch_capabilities);
 
 static int kvm_get_msr_feature(struct kvm_msr_entry *msr)
 {
Signature · 1 line
2.24.0
maintainer Applied
#2 lore raw
In reply to Sean Christopherson
Quoted 15 lines · Sean Christopherson

A recent change inadvertantly exported a static function, which results in modpost throwing a warning. Fix it.

Fixes cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")
---
 arch/x86/kvm/x86.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kvm/x86.c +0 -0
index a256e09f321a..3e9ab2d1ea77 100644

arch/x86/kvm/x86.c static u64 kvm_get_arch_capabilities(void) · line 1334

Quoted 7 lines
arch/x86/kvm/x86.c +0 -1
@@ -1329,7 +1329,6 @@ static u64 kvm_get_arch_capabilities(void)
 
 	return data;
 }
-EXPORT_SYMBOL_GPL(kvm_get_arch_capabilities);
 
 static int kvm_get_msr_feature(struct kvm_msr_entry *msr)
 {

Queued, thanks.

Paolo