diff options
author | Mark Brown <broonie@kernel.org> | 2022-01-24 17:55:27 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-01-28 11:30:51 +0000 |
commit | 9ae279ecabe3e5bb85567e6c7371f4d35cfa00d6 (patch) | |
tree | 801bea2fe98d933be0e06cb342710c59a2bd1371 /tools | |
parent | 50806fd91428a28d5daa649310dd0ca05b39c118 (diff) | |
download | linux-stable-9ae279ecabe3e5bb85567e6c7371f4d35cfa00d6.tar.gz linux-stable-9ae279ecabe3e5bb85567e6c7371f4d35cfa00d6.tar.bz2 linux-stable-9ae279ecabe3e5bb85567e6c7371f4d35cfa00d6.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c index 0cf78360c5bc..a3c1e67441f9 100644 --- a/tools/testing/selftests/arm64/fp/sve-ptrace.c +++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c @@ -261,7 +261,7 @@ static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) } ksft_test_result((sve->flags & SVE_PT_REGS_MASK) == SVE_PT_REGS_FPSIMD, - "Set FPSIMD registers via %s\n", type->name); + "Got FPSIMD registers via %s\n", type->name); if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_FPSIMD) goto out; |