summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/arm64/abi
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2024-09-12 13:43:57 +0100
committerWill Deacon <will@kernel.org>2024-09-12 13:43:57 +0100
commit2ef52ca02cfb1d13dbdfb96878fabe3a420b3da7 (patch)
tree36128cd8ad990e951b9cba5a0a603311af0e0f5e /tools/testing/selftests/arm64/abi
parent982a847c71d43eefd530e865314cbf31309619e2 (diff)
parentd736d4fc763090f9a02dc5556174de9768093f43 (diff)
Merge branch 'for-next/selftests' into for-next/core
* for-next/selftests: kselftest/arm64: Fix build warnings for ptrace kselftest/arm64: Actually test SME vector length changes via sigreturn kselftest/arm64: signal: fix/refactor SVE vector length enumeration
Diffstat (limited to 'tools/testing/selftests/arm64/abi')
-rw-r--r--tools/testing/selftests/arm64/abi/ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/arm64/abi/ptrace.c b/tools/testing/selftests/arm64/abi/ptrace.c
index e4fa507cbdd0..b51d21f78cf9 100644
--- a/tools/testing/selftests/arm64/abi/ptrace.c
+++ b/tools/testing/selftests/arm64/abi/ptrace.c
@@ -163,10 +163,10 @@ static void test_hw_debug(pid_t child, int type, const char *type_name)
static int do_child(void)
{
if (ptrace(PTRACE_TRACEME, -1, NULL, NULL))
- ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
+ ksft_exit_fail_perror("PTRACE_TRACEME");
if (raise(SIGSTOP))
- ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno));
+ ksft_exit_fail_perror("raise(SIGSTOP)");
return EXIT_SUCCESS;
}