* [PATCH][next] tools: selftests: riscv: Fix spelling mistake "regesters" -> "registers"
@ 2024-07-29 9:17 Colin Ian King
2024-07-29 21:57 ` Charlie Jenkins
0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-07-29 9:17 UTC (permalink / raw)
To: Shuah Khan, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Christoph Müllner, linux-kselftest, linux-riscv
Cc: kernel-janitors, linux-kernel
There are a couple of spelling mistakes in ksft_test_result_fail messages.
Fix them.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
tools/testing/selftests/riscv/vector/v_initval_nolibc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/riscv/vector/v_initval_nolibc.c b/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
index 1dd94197da30..6838c561e4c9 100644
--- a/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
+++ b/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
@@ -49,14 +49,14 @@ int main(void)
ksft_print_msg("vl = %lu\n", vl);
if (datap[0] != 0x00 && datap[0] != 0xff) {
- ksft_test_result_fail("v-regesters are not properly initialized\n");
+ ksft_test_result_fail("v-registers are not properly initialized\n");
dump(datap, vl * 4);
exit(-1);
}
for (i = 1; i < vl * 4; i++) {
if (datap[i] != datap[0]) {
- ksft_test_result_fail("detect stale values on v-regesters\n");
+ ksft_test_result_fail("detect stale values on v-registers\n");
dump(datap, vl * 4);
exit(-2);
}
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH][next] tools: selftests: riscv: Fix spelling mistake "regesters" -> "registers"
2024-07-29 9:17 [PATCH][next] tools: selftests: riscv: Fix spelling mistake "regesters" -> "registers" Colin Ian King
@ 2024-07-29 21:57 ` Charlie Jenkins
0 siblings, 0 replies; 2+ messages in thread
From: Charlie Jenkins @ 2024-07-29 21:57 UTC (permalink / raw)
To: Colin Ian King
Cc: Shuah Khan, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Christoph Müllner, linux-kselftest, linux-riscv,
kernel-janitors, linux-kernel
On Mon, Jul 29, 2024 at 10:17:34AM +0100, Colin Ian King wrote:
> There are a couple of spelling mistakes in ksft_test_result_fail messages.
> Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
> tools/testing/selftests/riscv/vector/v_initval_nolibc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/riscv/vector/v_initval_nolibc.c b/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
> index 1dd94197da30..6838c561e4c9 100644
> --- a/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
> +++ b/tools/testing/selftests/riscv/vector/v_initval_nolibc.c
> @@ -49,14 +49,14 @@ int main(void)
> ksft_print_msg("vl = %lu\n", vl);
>
> if (datap[0] != 0x00 && datap[0] != 0xff) {
> - ksft_test_result_fail("v-regesters are not properly initialized\n");
> + ksft_test_result_fail("v-registers are not properly initialized\n");
> dump(datap, vl * 4);
> exit(-1);
> }
>
> for (i = 1; i < vl * 4; i++) {
> if (datap[i] != datap[0]) {
> - ksft_test_result_fail("detect stale values on v-regesters\n");
> + ksft_test_result_fail("detect stale values on v-registers\n");
> dump(datap, vl * 4);
> exit(-2);
> }
> --
> 2.39.2
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
I fixed this and some incorrect error reporting in a different patch:
https://lore.kernel.org/lkml/20240724-xtheadvector-v8-12-cf043168e137@rivosinc.com/
- Charlie
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-29 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 9:17 [PATCH][next] tools: selftests: riscv: Fix spelling mistake "regesters" -> "registers" Colin Ian King
2024-07-29 21:57 ` Charlie Jenkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox