linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/cgroup: fix repeated words in comments
@ 2022-07-24  7:04 wangjianli
  2022-07-24 15:52 ` Joe Perches
  2022-07-25  5:47 ` Mukesh Ojha
  0 siblings, 2 replies; 6+ messages in thread
From: wangjianli @ 2022-07-24  7:04 UTC (permalink / raw)
  To: tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel, wangjianli

Delete the redundant word 'in'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 tools/testing/selftests/cgroup/test_freezer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
index ff519029f6f4..b479434e87b7 100644
--- a/tools/testing/selftests/cgroup/test_freezer.c
+++ b/tools/testing/selftests/cgroup/test_freezer.c
@@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
 
 	/*
 	 * cg_check_frozen(cgroup, true) will fail here,
-	 * because the task in in the TRACEd state.
+	 * because the task in the TRACEd state.
 	 */
 	if (cg_freeze_wait(cgroup, false))
 		goto cleanup;
-- 
2.36.1


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

* Re: [PATCH] selftests/cgroup: fix repeated words in comments
  2022-07-24  7:04 [PATCH] selftests/cgroup: fix repeated words in comments wangjianli
@ 2022-07-24 15:52 ` Joe Perches
  2022-07-25  5:47 ` Mukesh Ojha
  1 sibling, 0 replies; 6+ messages in thread
From: Joe Perches @ 2022-07-24 15:52 UTC (permalink / raw)
  To: wangjianli, tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel

On Sun, 2022-07-24 at 15:04 +0800, wangjianli wrote:
> Delete the redundant word 'in'.
[]
> diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
[]
> @@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
>  
>  	/*
>  	 * cg_check_frozen(cgroup, true) will fail here,
> -	 * because the task in in the TRACEd state.
> +	 * because the task in the TRACEd state.

presumably "is in"

>  	 */
>  	if (cg_freeze_wait(cgroup, false))
>  		goto cleanup;


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

* Re: [PATCH] selftests/cgroup: fix repeated words in comments
  2022-07-24  7:04 [PATCH] selftests/cgroup: fix repeated words in comments wangjianli
  2022-07-24 15:52 ` Joe Perches
@ 2022-07-25  5:47 ` Mukesh Ojha
  1 sibling, 0 replies; 6+ messages in thread
From: Mukesh Ojha @ 2022-07-25  5:47 UTC (permalink / raw)
  To: wangjianli, tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel

Hi,

On 7/24/2022 12:34 PM, wangjianli wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>   tools/testing/selftests/cgroup/test_freezer.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
> index ff519029f6f4..b479434e87b7 100644
> --- a/tools/testing/selftests/cgroup/test_freezer.c
> +++ b/tools/testing/selftests/cgroup/test_freezer.c
> @@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
>   
>   	/*
>   	 * cg_check_frozen(cgroup, true) will fail here,
> -	 * because the task in in the TRACEd state.

s/in in/is in     ?

> +	 * because the task in the TRACEd state.
>   	 */
>   	if (cg_freeze_wait(cgroup, false))
>   		goto cleanup;


-Mukesh

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

* Re: [PATCH] selftests/cgroup: fix repeated words in comments
  2022-09-08 12:11 wangjianli
  2022-09-08 13:52 ` Mukesh Ojha
@ 2022-09-08 13:52 ` Randy Dunlap
  1 sibling, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2022-09-08 13:52 UTC (permalink / raw)
  To: wangjianli, tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel



On 9/8/22 05:11, wangjianli wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  tools/testing/selftests/cgroup/test_freezer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
> index ff519029f6f4..b479434e87b7 100644
> --- a/tools/testing/selftests/cgroup/test_freezer.c
> +++ b/tools/testing/selftests/cgroup/test_freezer.c
> @@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
>  
>  	/*
>  	 * cg_check_frozen(cgroup, true) will fail here,
> -	 * because the task in in the TRACEd state.

	                    is in

> +	 * because the task in the TRACEd state.
>  	 */
>  	if (cg_freeze_wait(cgroup, false))
>  		goto cleanup;

-- 
~Randy

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

* Re: [PATCH] selftests/cgroup: fix repeated words in comments
  2022-09-08 12:11 wangjianli
@ 2022-09-08 13:52 ` Mukesh Ojha
  2022-09-08 13:52 ` Randy Dunlap
  1 sibling, 0 replies; 6+ messages in thread
From: Mukesh Ojha @ 2022-09-08 13:52 UTC (permalink / raw)
  To: wangjianli, tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel

Hi,

On 9/8/2022 5:41 PM, wangjianli wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>   tools/testing/selftests/cgroup/test_freezer.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
> index ff519029f6f4..b479434e87b7 100644
> --- a/tools/testing/selftests/cgroup/test_freezer.c
> +++ b/tools/testing/selftests/cgroup/test_freezer.c
> @@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
>   
>   	/*
>   	 * cg_check_frozen(cgroup, true) will fail here,
> -	 * because the task in in the TRACEd state.
> +	 * because the task in the TRACEd state.

Should it be s/in in/is in/ ?

-Mukesh
>   	 */
>   	if (cg_freeze_wait(cgroup, false))
>   		goto cleanup;

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

* [PATCH] selftests/cgroup: fix repeated words in comments
@ 2022-09-08 12:11 wangjianli
  2022-09-08 13:52 ` Mukesh Ojha
  2022-09-08 13:52 ` Randy Dunlap
  0 siblings, 2 replies; 6+ messages in thread
From: wangjianli @ 2022-09-08 12:11 UTC (permalink / raw)
  To: tj, lizefan.x, hannes, shuah
  Cc: cgroups, linux-kselftest, linux-kernel, wangjianli

Delete the redundant word 'in'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 tools/testing/selftests/cgroup/test_freezer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/cgroup/test_freezer.c b/tools/testing/selftests/cgroup/test_freezer.c
index ff519029f6f4..b479434e87b7 100644
--- a/tools/testing/selftests/cgroup/test_freezer.c
+++ b/tools/testing/selftests/cgroup/test_freezer.c
@@ -740,7 +740,7 @@ static int test_cgfreezer_ptraced(const char *root)
 
 	/*
 	 * cg_check_frozen(cgroup, true) will fail here,
-	 * because the task in in the TRACEd state.
+	 * because the task in the TRACEd state.
 	 */
 	if (cg_freeze_wait(cgroup, false))
 		goto cleanup;
-- 
2.36.1


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

end of thread, other threads:[~2022-09-08 13:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24  7:04 [PATCH] selftests/cgroup: fix repeated words in comments wangjianli
2022-07-24 15:52 ` Joe Perches
2022-07-25  5:47 ` Mukesh Ojha
2022-09-08 12:11 wangjianli
2022-09-08 13:52 ` Mukesh Ojha
2022-09-08 13:52 ` 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).