diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-29 03:36:43 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-03 00:43:17 +0300 |
commit | a05c4c2bd8b59e291cc9d68b79d6b45a34bcb54e (patch) | |
tree | 25d93f3b768f12b94bd0e2d873e514d49e4f0bb4 /tools/testing/selftests/kvm/include/ucall_common.h | |
parent | 6f321017c84b33a69f6ac131f6c91d1e8a5ff585 (diff) | |
download | linux-a05c4c2bd8b59e291cc9d68b79d6b45a34bcb54e.tar.xz |
KVM: selftests: Use GUEST_FAIL() in ARM's arch timer helpers
Use GUEST_FAIL() in ARM's arch timer helpers now that printf-based
guest asserts are the default (and only) style of guest asserts, and
say goodbye to the GUEST_ASSERT_1() alias.
Link: https://lore.kernel.org/r/20230729003643.1053367-35-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/include/ucall_common.h')
-rw-r--r-- | tools/testing/selftests/kvm/include/ucall_common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/kvm/include/ucall_common.h b/tools/testing/selftests/kvm/include/ucall_common.h index 99bbb56cd1a5..112bc1da732a 100644 --- a/tools/testing/selftests/kvm/include/ucall_common.h +++ b/tools/testing/selftests/kvm/include/ucall_common.h @@ -103,8 +103,4 @@ do { \ (const char *)(ucall).args[GUEST_FILE], \ (ucall).args[GUEST_LINE], "%s", (ucall).buffer) -/* FIXME: Drop this alias once the param-based guest asserts are gone. */ -#define GUEST_ASSERT_1(_condition, arg1) \ - __GUEST_ASSERT(_condition, "arg1 = 0x%lx", arg1) - #endif /* SELFTEST_KVM_UCALL_COMMON_H */ |