diff options
author | 2025-01-17 16:34:52 -0800 | |
---|---|---|
committer | 2025-02-12 08:53:57 -0800 | |
commit | 0b6db0dc43eefb4f89181546785c3609fd276524 (patch) | |
tree | ce190dcc2a57fb3575e1b98ee018882ca0a68b08 /tools | |
parent | KVM: x86: Reject Hyper-V's SEND_IPI hypercalls if local APIC isn't in-kernel (diff) | |
download | wireguard-linux-0b6db0dc43eefb4f89181546785c3609fd276524.tar.xz wireguard-linux-0b6db0dc43eefb4f89181546785c3609fd276524.zip |
KVM: selftests: Mark test_hv_cpuid_e2big() static in Hyper-V CPUID test
Make the Hyper-V CPUID test's local helper test_hv_cpuid_e2big() static,
it's not used outside of the test (and isn't intended to be).
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20250118003454.2619573-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/kvm/x86/hyperv_cpuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/x86/hyperv_cpuid.c b/tools/testing/selftests/kvm/x86/hyperv_cpuid.c index 4f5881d4ef66..9a0fcc713350 100644 --- a/tools/testing/selftests/kvm/x86/hyperv_cpuid.c +++ b/tools/testing/selftests/kvm/x86/hyperv_cpuid.c @@ -111,7 +111,7 @@ static void test_hv_cpuid(const struct kvm_cpuid2 *hv_cpuid_entries, } } -void test_hv_cpuid_e2big(struct kvm_vm *vm, struct kvm_vcpu *vcpu) +static void test_hv_cpuid_e2big(struct kvm_vm *vm, struct kvm_vcpu *vcpu) { static struct kvm_cpuid2 cpuid = {.nent = 0}; int ret; |