Commit 0b6db0dc authored by Sean Christopherson's avatar Sean Christopherson
Browse files

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: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20250118003454.2619573-3-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent a8de7f10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;