summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64
diff options
context:
space:
mode:
authorRemington Brasga <rbrasga@uci.edu>2024-07-13 01:17:30 +0200
committerWill Deacon <will@kernel.org>2024-07-23 16:27:16 +0200
commit0c35e3bd412a6a2676adc35df950cfbb9f464b0c (patch)
treed375e5454c0edcd04326e4704f17465e6ea8fb66 /tools/testing/selftests/arm64
parentarm64/Kconfig: Remove redundant 'if HAVE_FUNCTION_GRAPH_TRACER' (diff)
downloadlinux-0c35e3bd412a6a2676adc35df950cfbb9f464b0c.tar.xz
linux-0c35e3bd412a6a2676adc35df950cfbb9f464b0c.zip
kselftest: missing arg in ptrace.c
The string passed to ksft_test_result_skip is missing the `type_name` Signed-off-by: Remington Brasga <rbrasga@uci.edu> Reviewed-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Link: https://lore.kernel.org/r/20240712231730.2794-1-rbrasga@uci.edu Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64')
-rw-r--r--tools/testing/selftests/arm64/abi/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/abi/ptrace.c b/tools/testing/selftests/arm64/abi/ptrace.c
index 4c941270d8de..e4fa507cbdd0 100644
--- a/tools/testing/selftests/arm64/abi/ptrace.c
+++ b/tools/testing/selftests/arm64/abi/ptrace.c
@@ -156,7 +156,7 @@ static void test_hw_debug(pid_t child, int type, const char *type_name)
/* Zero is not currently architecturally valid */
ksft_test_result(arch, "%s_arch_set\n", type_name);
} else {
- ksft_test_result_skip("%s_arch_set\n");
+ ksft_test_result_skip("%s_arch_set\n", type_name);
}
}