Message ID | 20220724070435.7999-1-wangjianli@cdjrlc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | selftests/cgroup: fix repeated words in comments | expand |
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;
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
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;
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(-)