diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2021-04-26 21:31:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-26 11:28:25 +0200 |
commit | d4787579d2133370ab47963c6527e79731df5b2a (patch) | |
tree | a3bae38c312e49f665e96a7caddcbaff5ab795f4 /arch | |
parent | KVM: x86: Take advantage of kvm_arch_dy_has_pending_interrupt() (diff) | |
download | linux-d4787579d2133370ab47963c6527e79731df5b2a.tar.xz linux-d4787579d2133370ab47963c6527e79731df5b2a.zip |
selftests: kvm: Fix the check of return value
In vm_vcpu_rm() and kvm_vm_release(), a stale return value is checked in
TEST_ASSERT macro.
Fix it by assigning variable ret with correct return value.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20210426193138.118276-1-zhenzhong.duan@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions