KVM: x86: Remove a spurious export of a static function
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")
Signed-off-by Sean Christopherson <[email protected]>
--- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-)
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) {
Signature · 1 line
2.24.0
Quoted 2 lines · Sean Christopherson
A recent change inadvertantly exported a static function, which results
Nit: inadvertently
Quoted 4 lines
in modpost throwing a warning. Fix it.
Fixes cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")Signed-off-by Sean Christopherson <[email protected]>
Reviewed-by Jim Mattson <[email protected]>
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")Signed-off-by Sean Christopherson <[email protected]>--- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-)arch/x86/kvm/x86.c +0
-0
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