* [PATCH 1/6] selftests/arm64: fix spelling errors in comments
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 12:35 ` [PATCH 2/6] selftests/filesystems: fix spelling error in statmount test comment Wang Yan
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, Catalin Marinas, Will Deacon, linux-arm-kernel,
linux-kselftest, linux-kernel
Cc: Wang Yan
Fix two spelling mistakes in arm64 selftest comments:
- "whcih" -> "which" (arm64/gcs/libc-gcs.c)
- "resutls" -> "results" (arm64/pauth/pac.c)
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/arm64/gcs/libc-gcs.c | 2 +-
tools/testing/selftests/arm64/pauth/pac.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/arm64/gcs/libc-gcs.c b/tools/testing/selftests/arm64/gcs/libc-gcs.c
index 72e82bfbecc9..ddb0b2b20155 100644
--- a/tools/testing/selftests/arm64/gcs/libc-gcs.c
+++ b/tools/testing/selftests/arm64/gcs/libc-gcs.c
@@ -130,7 +130,7 @@ TEST(gcs_find_terminator)
* We can access a GCS via ptrace
*
* This could usefully have a fixture but note that each test is
- * fork()ed into a new child whcih causes issues. Might be better to
+ * fork()ed into a new child which causes issues. Might be better to
* lift at least some of this out into a separate, non-harness, test
* program.
*/
diff --git a/tools/testing/selftests/arm64/pauth/pac.c b/tools/testing/selftests/arm64/pauth/pac.c
index 67d138057707..f4b859c75a5a 100644
--- a/tools/testing/selftests/arm64/pauth/pac.c
+++ b/tools/testing/selftests/arm64/pauth/pac.c
@@ -292,7 +292,7 @@ TEST(single_thread_different_keys)
/*
* fork() does not change keys. Only exec() does so call a worker program.
- * Its only job is to sign a value and report back the resutls
+ * Its only job is to sign a value and report back the results
*/
TEST(exec_changed_keys)
{
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/6] selftests/filesystems: fix spelling error in statmount test comment
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
2026-07-01 12:35 ` [PATCH 1/6] selftests/arm64: fix spelling errors in comments Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 12:35 ` [PATCH 3/6] selftests/ftrace: fix spelling error in poll " Wang Yan
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, linux-kselftest, linux-kernel; +Cc: Wang Yan
Fix typo "didnt't" -> "didn't" in statmount_test.c comment.
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/filesystems/statmount/statmount_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/filesystems/statmount/statmount_test.c b/tools/testing/selftests/filesystems/statmount/statmount_test.c
index 8dc018d47a93..9d963e09e510 100644
--- a/tools/testing/selftests/filesystems/statmount/statmount_test.c
+++ b/tools/testing/selftests/filesystems/statmount/statmount_test.c
@@ -515,7 +515,7 @@ static void test_statmount_mnt_opts(void)
return;
}
- ksft_test_result_fail("didnt't find mount entry\n");
+ ksft_test_result_fail("didn't find mount entry\n");
free(sm);
free(line);
}
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 3/6] selftests/ftrace: fix spelling error in poll test comment
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
2026-07-01 12:35 ` [PATCH 1/6] selftests/arm64: fix spelling errors in comments Wang Yan
2026-07-01 12:35 ` [PATCH 2/6] selftests/filesystems: fix spelling error in statmount test comment Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 12:35 ` [PATCH 4/6] selftests/kvm/x86: fix spelling error in xapic_ipi_test comment Wang Yan
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, Steven Rostedt, Masami Hiramatsu, Mathieu Desnoyers,
linux-kernel, linux-trace-kernel, linux-kselftest
Cc: Wang Yan
Fix typo "happned" -> "happened" in ftrace poll test comment.
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/ftrace/poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/ftrace/poll.c b/tools/testing/selftests/ftrace/poll.c
index 53258f7515e7..4da86a20dc85 100644
--- a/tools/testing/selftests/ftrace/poll.c
+++ b/tools/testing/selftests/ftrace/poll.c
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
}
close(pfd.fd);
- /* If timeout happned (ret == 0), exit code is 1 */
+ /* If timeout happened (ret == 0), exit code is 1 */
if (ret == 0)
return 1;
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 4/6] selftests/kvm/x86: fix spelling error in xapic_ipi_test comment
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
` (2 preceding siblings ...)
2026-07-01 12:35 ` [PATCH 3/6] selftests/ftrace: fix spelling error in poll " Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 12:35 ` [PATCH 5/6] selftests/landlock: fix spelling error in fs_test comment Wang Yan
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, Sean Christopherson, Paolo Bonzini, kvm,
linux-kselftest, linux-kernel
Cc: Wang Yan
Fix typo "usefull" -> "useful" in xAPIC IPI test comment.
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/kvm/x86/xapic_ipi_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/x86/xapic_ipi_test.c b/tools/testing/selftests/kvm/x86/xapic_ipi_test.c
index 39ce9a9369f5..3a326c5e74ca 100644
--- a/tools/testing/selftests/kvm/x86/xapic_ipi_test.c
+++ b/tools/testing/selftests/kvm/x86/xapic_ipi_test.c
@@ -17,7 +17,7 @@
* amongst the available numa nodes on the machine.
*
* Migration is a command line option. When used on non-numa machines will
- * exit with error. Test is still usefull on non-numa for testing IPIs.
+ * exit with error. Test is still useful on non-numa for testing IPIs.
*/
#include <getopt.h>
#include <pthread.h>
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 5/6] selftests/landlock: fix spelling error in fs_test comment
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
` (3 preceding siblings ...)
2026-07-01 12:35 ` [PATCH 4/6] selftests/kvm/x86: fix spelling error in xapic_ipi_test comment Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 12:35 ` [PATCH 6/6] selftests/powerpc/tm: fix spelling errors in comments Wang Yan
2026-07-01 14:18 ` [PATCH 0/6] selftests: fix multiple spelling errors across submodules Sean Christopherson
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, Mickaël Salaün, Günther Noack,
linux-security-module, linux-kselftest, linux-kernel
Cc: Wang Yan
Fix typo "allowes" -> "allows" in Landlock filesystem test comment.
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/landlock/fs_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/landlock/fs_test.c b/tools/testing/selftests/landlock/fs_test.c
index 86e08aa6e0a7..e672089e9329 100644
--- a/tools/testing/selftests/landlock/fs_test.c
+++ b/tools/testing/selftests/landlock/fs_test.c
@@ -6927,7 +6927,7 @@ TEST_F_FORK(layout2_overlay, same_content_different_file)
ASSERT_EQ(0, test_open(path_entry, O_RDWR));
}
- /* Only allowes access to the merge hierarchy. */
+ /* Only allows access to the merge hierarchy. */
enforce_fs(_metadata, ACCESS_RW, layer5_merge_only);
/* Checks new accesses on lower layer. */
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 6/6] selftests/powerpc/tm: fix spelling errors in comments
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
` (4 preceding siblings ...)
2026-07-01 12:35 ` [PATCH 5/6] selftests/landlock: fix spelling error in fs_test comment Wang Yan
@ 2026-07-01 12:35 ` Wang Yan
2026-07-01 14:18 ` [PATCH 0/6] selftests: fix multiple spelling errors across submodules Sean Christopherson
6 siblings, 0 replies; 8+ messages in thread
From: Wang Yan @ 2026-07-01 12:35 UTC (permalink / raw)
To: Shuah Khan, Madhavan Srinivasan, Michael Ellerman,
Nicholas Piggin, Christophe Leroy (CS GROUP), linuxppc-dev,
linux-kselftest, linux-kernel
Cc: Wang Yan
Fix three spelling mistakes in powerpc TM selftest comments:
- "delievery" -> "delivery" (powerpc/tm/tm-signal-stack.c)
- "sucess" -> "success" (powerpc/tm/tm-tar.c)
- "becuase" -> "because" (powerpc/tm/tm-signal-msr-resv.c)
Signed-off-by: Wang Yan <wangyan01@kylinos.cn>
---
tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c | 2 +-
tools/testing/selftests/powerpc/tm/tm-signal-stack.c | 2 +-
tools/testing/selftests/powerpc/tm/tm-tar.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c b/tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c
index 4a61e9bd12b4..8aee18819603 100644
--- a/tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c
+++ b/tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c
@@ -42,7 +42,7 @@ void signal_usr1(int signum, siginfo_t *info, void *uc)
#else
ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL);
#endif
- /* Should segv on return becuase of invalid context */
+ /* Should segv on return because of invalid context */
segv_expected = 1;
}
diff --git a/tools/testing/selftests/powerpc/tm/tm-signal-stack.c b/tools/testing/selftests/powerpc/tm/tm-signal-stack.c
index 68807aac8dd3..7b323679437d 100644
--- a/tools/testing/selftests/powerpc/tm/tm-signal-stack.c
+++ b/tools/testing/selftests/powerpc/tm/tm-signal-stack.c
@@ -52,7 +52,7 @@ int tm_signal_stack()
/*
* The flow here is:
- * 1) register a signal handler (so signal delievery occurs)
+ * 1) register a signal handler (so signal delivery occurs)
* 2) make stack pointer (r1) = NULL
* 3) start transaction
* 4) cause segv
diff --git a/tools/testing/selftests/powerpc/tm/tm-tar.c b/tools/testing/selftests/powerpc/tm/tm-tar.c
index f2a9137f3c1e..ea420caa3961 100644
--- a/tools/testing/selftests/powerpc/tm/tm-tar.c
+++ b/tools/testing/selftests/powerpc/tm/tm-tar.c
@@ -50,7 +50,7 @@ int test_tar(void)
"bne 2b;"
"tend.;"
- /* Transaction sucess! TAR should be 3 */
+ /* Transaction success! TAR should be 3 */
"mfspr 7, %[tar];"
"ori %[res], 7, 4;" // res = 3|4 = 7
"b 4f;"
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 0/6] selftests: fix multiple spelling errors across submodules
2026-07-01 12:35 [PATCH 0/6] selftests: fix multiple spelling errors across submodules Wang Yan
` (5 preceding siblings ...)
2026-07-01 12:35 ` [PATCH 6/6] selftests/powerpc/tm: fix spelling errors in comments Wang Yan
@ 2026-07-01 14:18 ` Sean Christopherson
6 siblings, 0 replies; 8+ messages in thread
From: Sean Christopherson @ 2026-07-01 14:18 UTC (permalink / raw)
To: Wang Yan
Cc: Shuah Khan, Mickaël Salaün, Günther Noack,
linux-security-module, linux-kselftest, linux-kernel
On Wed, Jul 01, 2026, Wang Yan wrote:
> This series fixes trivial spelling typos in comments across multiple
> selftests subdirectories. All changes are pure comment fixes, no
> functional or logical change to any test logic.
>
> Changes are split by subsystem for easier review and merging.
In the future, please send individual patches. Splitting the patches is nice,
but then bundling them in a single series that affects different maintainer
domains reintroduces the friction you're trying to avoid, especially since most
of us only got the one patch. E.g. I only received patch 4/6, which left me
wondering "what's in the other 5 patches?".
> Wang Yan (6):
> selftests/arm64: fix spelling errors in comments
> selftests/filesystems: fix spelling error in statmount test comment
> selftests/ftrace: fix spelling error in poll test comment
> selftests/kvm/x86: fix spelling error in xapic_ipi_test comment
> selftests/landlock: fix spelling error in fs_test comment
> selftests/powerpc/tm: fix spelling errors in comments
>
> tools/testing/selftests/arm64/gcs/libc-gcs.c | 2 +-
> tools/testing/selftests/arm64/pauth/pac.c | 2 +-
> tools/testing/selftests/filesystems/statmount/statmount_test.c | 2 +-
> tools/testing/selftests/ftrace/poll.c | 2 +-
> tools/testing/selftests/kvm/x86/xapic_ipi_test.c | 2 +-
> tools/testing/selftests/landlock/fs_test.c | 2 +-
> tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c | 2 +-
> tools/testing/selftests/powerpc/tm/tm-signal-stack.c | 2 +-
> tools/testing/selftests/powerpc/tm/tm-tar.c | 2 +-
> 9 files changed, 9 insertions(+), 9 deletions(-)
>
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread