* [PATCH 2/2] tools/testing/selftests:Fixed spelling errors in comments
@ 2023-08-03 6:05 GuokaiXu
2023-08-03 14:00 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: GuokaiXu @ 2023-08-03 6:05 UTC (permalink / raw)
To: linux-next
From 844784381c30373524346d342003952aeec73a16 Mon Sep 17 00:00:00 2001
From: GuokaiXu <xuguokai@ucas.com.cn>
Date: Thu, 3 Aug 2023 13:26:59 +0800
Subject: [PATCH 2/2] Fixed some spelling errors in comments.
Signed-off-by: GuokaiXu <xuguokai@ucas.com.cn>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] tools/testing/selftests:Fixed spelling errors in comments
2023-08-03 6:05 [PATCH 2/2] tools/testing/selftests:Fixed spelling errors in comments GuokaiXu
@ 2023-08-03 14:00 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2023-08-03 14:00 UTC (permalink / raw)
To: GuokaiXu, linux-next
On 8/2/23 23:05, GuokaiXu wrote:
> From 844784381c30373524346d342003952aeec73a16 Mon Sep 17 00:00:00 2001
> From: GuokaiXu <xuguokai@ucas.com.cn>
> Date: Thu, 3 Aug 2023 13:26:59 +0800
> Subject: [PATCH 2/2] Fixed some spelling errors in comments.
>
> Signed-off-by: GuokaiXu <xuguokai@ucas.com.cn>
> ---
> 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
identity
maybe. I think. maybe.
> * 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 *))
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-03 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03 6:05 [PATCH 2/2] tools/testing/selftests:Fixed spelling errors in comments GuokaiXu
2023-08-03 14:00 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).