]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Drop 'int' return from asserting *_has_device_attr()
authorSean Christopherson <seanjc@google.com>
Fri, 18 Feb 2022 00:33:21 +0000 (16:33 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:23 +0000 (11:46 -0400)
commit3d7ed2e034cb7a415cdfea79132c6b6d360ee4d4
treecbbbc86d6f4ee3a0e98e015e00cec4226baa95da
parent149b81f077be970cb384113ba31690e1b44e6c1b
KVM: selftests: Drop 'int' return from asserting *_has_device_attr()

Drop 'int' returns from *_device_has_attr() helpers that assert the
return is '0', there's no point in returning '0' and "requiring" the
caller to perform a redundant assertion.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/aarch64/vgic_init.c
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/lib/kvm_util.c