[PATCH 2/2] tools/testing/selftests:Fixed spelling errors in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 844784381c30373524346d342003952aeec73a16 Mon Sep 17 00:00:00 2001
From: GuokaiXu <xuguokai@xxxxxxxxxxx>
Date: Thu, 3 Aug 2023 13:26:59 +0800
Subject: [PATCH 2/2] Fixed some spelling errors in comments.

Signed-off-by: GuokaiXu <xuguokai@xxxxxxxxxxx>
---
 tools/testing/selftests/arm64/pauth/pac.c              | 2 +-
 tools/testing/selftests/bpf/progs/test_subprogs.c      | 2 +-
 tools/testing/selftests/sync/sync_stress_parallelism.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/testing/selftests/arm64/pauth/pac.c b/tools/testing/selftests/arm64/pauth/pac.c
index b743daa772f5..b236d181feef 100644
--- a/tools/testing/selftests/arm64/pauth/pac.c
+++ b/tools/testing/selftests/arm64/pauth/pac.c
@@ -289,7 +289,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)
 {
diff --git a/tools/testing/selftests/bpf/progs/test_subprogs.c b/tools/testing/selftests/bpf/progs/test_subprogs.c
index a8d602d7c88a..ad68697c3c91 100644
--- a/tools/testing/selftests/bpf/progs/test_subprogs.c
+++ b/tools/testing/selftests/bpf/progs/test_subprogs.c
@@ -39,7 +39,7 @@ static __noinline int sub4(int w)
 	return w + sub3(5) + sub1(6);
 }
 
-/* sub5() is an identitify function, just to test weirder functions layout and
+/* sub5() is an identify function, just to test weirder functions layout and
  * call patterns
  */
 static __noinline int sub5(int v)
diff --git a/tools/testing/selftests/sync/sync_stress_parallelism.c b/tools/testing/selftests/sync/sync_stress_parallelism.c
index e6c9be671dfc..6ce56ca204c4 100644
--- a/tools/testing/selftests/sync/sync_stress_parallelism.c
+++ b/tools/testing/selftests/sync/sync_stress_parallelism.c
@@ -87,7 +87,7 @@ int test_stress_two_threads_shared_timeline(void)
 
 	/*
 	 * Use a single timeline to synchronize two threads
-	 * hammmering on the same counter.
+	 * hammering on the same counter.
 	 */
 
 	pthread_create(&a, NULL, (void *(*)(void *))
-- 
2.25.1




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux