Re: [PATCH] selftests/cgroup: fix repeated words in comments

From: Randy Dunlap
Date: Thu Sep 08 2022 - 09:53:28 EST




On 9/8/22 05:11, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <wangjianli@xxxxxxxxxx>
> ---
> 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