aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2021-04-27 03:31:38 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-26 05:28:25 -0400
commitd4787579d2133370ab47963c6527e79731df5b2a (patch)
treea3bae38c312e49f665e96a7caddcbaff5ab795f4 /include/linux/perf_event.h
parentKVM: x86: Take advantage of kvm_arch_dy_has_pending_interrupt() (diff)
downloadlinux-dev-d4787579d2133370ab47963c6527e79731df5b2a.tar.xz
linux-dev-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 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions