diff options
author | Sean Christopherson <seanjc@google.com> | 2022-06-13 16:19:42 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-14 12:44:47 -0400 |
commit | 9393cb13fa5d4c1ef2f1c3086af1c2cc03389bad (patch) | |
tree | 61593c3f7adf2224c51439c6598e2b7b79031929 /include/crypto/sm3.h | |
parent | 96f113c40d2882ac9b5e4fcac9e48c32eb030aa3 (diff) | |
download | linux-9393cb13fa5d4c1ef2f1c3086af1c2cc03389bad.tar.bz2 |
KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible
Replace calls to kvm_check_cap() that treat its return as a boolean with
calls to kvm_has_cap(). Several instances of kvm_check_cap() were missed
when kvm_has_cap() was introduced.
Reported-by: Andrew Jones <drjones@redhat.com>
Fixes: 3ea9b809650b ("KVM: selftests: Add kvm_has_cap() to provide syntactic sugar")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220613161942.1586791-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/crypto/sm3.h')
0 files changed, 0 insertions, 0 deletions