summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/x86_64/kvm_clock_test.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-05-27 15:09:52 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:47:27 -0400
commitd8ba3f14a50e4bc9745bb8f66a599c6be8ad0cda (patch)
treeff5ddef871b5fa38995a3a8f65d04fbc52a3bded /tools/testing/selftests/kvm/x86_64/kvm_clock_test.c
parent032604529827cf889e470dc9b3ad18b2a40311b3 (diff)
KVM: selftests: Return an 'unsigned int' from kvm_check_cap()
Return an 'unsigned int' instead of a signed 'int' from kvm_check_cap(), to make it more obvious that kvm_check_cap() can never return a negative value due to its assertion that the return is ">= 0". 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/kvm_clock_test.c')
0 files changed, 0 insertions, 0 deletions