Home
last modified time | relevance | path

Searched hist:d8ba3f14 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.cd8ba3f14 Fri May 27 17:09:52 CDT 2022 Sean Christopherson <seanjc@google.com> 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>
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.hd8ba3f14 Fri May 27 17:09:52 CDT 2022 Sean Christopherson <seanjc@google.com> 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>
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.cd8ba3f14 Fri May 27 17:09:52 CDT 2022 Sean Christopherson <seanjc@google.com> 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>