Skip to content

Commit 9ae279e

Browse files
brooniectmarinas
authored andcommitted
kselftest/arm64: Correct logging of FPSIMD register read via ptrace
There's a cut'n'paste error in the logging for our test for reading register state back via ptrace, correctly say that we did a read instead of a write. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20220124175527.3260234-3-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 50806fd commit 9ae279e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/arm64/fp/sve-ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type)
261261
}
262262

263263
ksft_test_result((sve->flags & SVE_PT_REGS_MASK) == SVE_PT_REGS_FPSIMD,
264-
"Set FPSIMD registers via %s\n", type->name);
264+
"Got FPSIMD registers via %s\n", type->name);
265265
if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_FPSIMD)
266266
goto out;
267267

0 commit comments

Comments
 (0)