summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 21:27:55 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 17:14:58 +0300
commit2b38a7398f20dbbfa88689819b21967489d284f5 (patch)
tree45112ab60c9ae999ce88b539cbcf9324dda53a5c /tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c
parentccc82ba6bea45189a516c97480b2b70406832f35 (diff)
downloadlinux-2b38a7398f20dbbfa88689819b21967489d284f5.tar.xz
KVM: selftests: Add another underscore to inner ioctl() helpers
Add a second underscore to inner ioctl() helpers to better align with commonly accepted kernel coding style, and to allow using a single underscore variant in the future for macro shenanigans. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c')
-rw-r--r--tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c b/tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c
index 280c01fd2412..c35ada9f7f9c 100644
--- a/tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c
+++ b/tools/testing/selftests/kvm/x86_64/vmx_nested_tsc_scaling_test.c
@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
vcpu_alloc_vmx(vm, &vmx_pages_gva);
vcpu_args_set(vm, VCPU_ID, 1, vmx_pages_gva);
- tsc_khz = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_TSC_KHZ, NULL);
+ tsc_khz = __vcpu_ioctl(vm, VCPU_ID, KVM_GET_TSC_KHZ, NULL);
TEST_ASSERT(tsc_khz != -1, "vcpu ioctl KVM_GET_TSC_KHZ failed");
/* scale down L1's TSC frequency */