2022-08-11 13:18:59

by Jason Wang

[permalink] [raw]
Subject: [PATCH] cpuidle/coupled: Fix comment typo

The double `are' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/cpuidle/coupled.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c
index 74068742cef3..9acde71558d5 100644
--- a/drivers/cpuidle/coupled.c
+++ b/drivers/cpuidle/coupled.c
@@ -54,7 +54,7 @@
* variable is not locked. It is only written from the cpu that
* it stores (or by the on/offlining cpu if that cpu is offline),
* and only read after all the cpus are ready for the coupled idle
- * state are are no longer updating it.
+ * state are no longer updating it.
*
* Three atomic counters are used. alive_count tracks the number
* of cpus in the coupled set that are currently or soon will be
--
2.36.1


2022-08-31 19:10:55

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpuidle/coupled: Fix comment typo

On Thu, Aug 11, 2022 at 2:05 PM Jason Wang <[email protected]> wrote:
>
> The double `are' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/cpuidle/coupled.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c
> index 74068742cef3..9acde71558d5 100644
> --- a/drivers/cpuidle/coupled.c
> +++ b/drivers/cpuidle/coupled.c
> @@ -54,7 +54,7 @@
> * variable is not locked. It is only written from the cpu that
> * it stores (or by the on/offlining cpu if that cpu is offline),
> * and only read after all the cpus are ready for the coupled idle
> - * state are are no longer updating it.
> + * state are no longer updating it.
> *
> * Three atomic counters are used. alive_count tracks the number
> * of cpus in the coupled set that are currently or soon will be
> --

Applied as 6.1 material under a modified subject, thanks!