[PATCH] cpuidle/coupled: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/cpuidle/coupled.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cpuidle/coupled: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `are' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Re: [PATCH] cpuidle/coupled: Fix comment typo
Posted by Rafael J. Wysocki 3 years, 7 months ago
On Thu, Aug 11, 2022 at 2:05 PM Jason Wang <wangborong@cdjrlc.com> wrote:
>
> The double `are' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  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!