Searched hist:d8ba3f14 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | kvm_binary_stats_test.c | d8ba3f14 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 D | kvm_util_base.h | d8ba3f14 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 D | kvm_util.c | d8ba3f14 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>
|