]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
kselftest: missing arg in ptrace.c
authorRemington Brasga <rbrasga@uci.edu>
Fri, 12 Jul 2024 23:17:30 +0000 (23:17 +0000)
committerWill Deacon <will@kernel.org>
Tue, 23 Jul 2024 14:27:16 +0000 (15:27 +0100)
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>
tools/testing/selftests/arm64/abi/ptrace.c

index 4c941270d8de0abed76a4d2ee5b1e4bbfff3108d..e4fa507cbdd0ee9c684b500d05c8d7eedb4b9817 100644 (file)
@@ -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);
        }
 }