All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf test: Fix typo in comments
@ 2022-08-07  7:47 shaomin Deng
  2022-08-12 19:44 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: shaomin Deng @ 2022-08-07  7:47 UTC (permalink / raw
  To: peterz, mingo, acme, linux-perf-users, linux-kernel; +Cc: shaomin Deng

Delete the rebundant word "then" in comments.

Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
---
 tools/perf/tests/perf-time-to-tsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/perf-time-to-tsc.c b/tools/perf/tests/perf-time-to-tsc.c
index 4ad0dfbc8b21..79a0d7fc6522 100644
--- a/tools/perf/tests/perf-time-to-tsc.c
+++ b/tools/perf/tests/perf-time-to-tsc.c
@@ -64,7 +64,7 @@ static int test__tsc_is_supported(struct test_suite *test __maybe_unused,
  * This function implements a test that checks that the conversion of perf time
  * to and from TSC is consistent with the order of events.  If the test passes
  * %0 is returned, otherwise %-1 is returned.  If TSC conversion is not
- * supported then then the test passes but " (not supported)" is printed.
+ * supported then the test passes but " (not supported)" is printed.
  */
 static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
 {
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf test: Fix typo in comments
  2022-08-07  7:47 [PATCH] perf test: Fix typo in comments shaomin Deng
@ 2022-08-12 19:44 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-08-12 19:44 UTC (permalink / raw
  To: shaomin Deng; +Cc: peterz, mingo, linux-perf-users, linux-kernel

Em Sun, Aug 07, 2022 at 03:47:53AM -0400, shaomin Deng escreveu:
> Delete the rebundant word "then" in comments.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
> ---
>  tools/perf/tests/perf-time-to-tsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/tests/perf-time-to-tsc.c b/tools/perf/tests/perf-time-to-tsc.c
> index 4ad0dfbc8b21..79a0d7fc6522 100644
> --- a/tools/perf/tests/perf-time-to-tsc.c
> +++ b/tools/perf/tests/perf-time-to-tsc.c
> @@ -64,7 +64,7 @@ static int test__tsc_is_supported(struct test_suite *test __maybe_unused,
>   * This function implements a test that checks that the conversion of perf time
>   * to and from TSC is consistent with the order of events.  If the test passes
>   * %0 is returned, otherwise %-1 is returned.  If TSC conversion is not
> - * supported then then the test passes but " (not supported)" is printed.
> + * supported then the test passes but " (not supported)" is printed.
>   */
>  static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
>  {
> -- 
> 2.35.1

-- 

- Arnaldo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-12 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-07  7:47 [PATCH] perf test: Fix typo in comments shaomin Deng
2022-08-12 19:44 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.