lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 11 Feb 2022 09:12:18 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     trix@...hat.com, rafael@...nel.org, len.brown@...el.com,
        pavel@....cz, gregkh@...uxfoundation.org
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PM: cleanup comments



On 2/11/22 08:10, trix@...hat.com wrote:
> From: Tom Rix <trix@...hat.com>
> 
> Remove the second 'the'.
> Replace the second 'of' with 'the'.
> Replace 'couter' with 'counter'.
> 
> Signed-off-by: Tom Rix <trix@...hat.com>

Acked-by: Randy Dunlap <rdunlap@...radead.org>

Thanks.

> ---
>  drivers/base/power/wakeirq.c | 2 +-
>  drivers/base/power/wakeup.c  | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/base/power/wakeirq.c b/drivers/base/power/wakeirq.c
> index 0004db4a9d3b..d487a6bac630 100644
> --- a/drivers/base/power/wakeirq.c
> +++ b/drivers/base/power/wakeirq.c
> @@ -289,7 +289,7 @@ EXPORT_SYMBOL_GPL(dev_pm_disable_wake_irq);
>   *
>   * Enables wakeirq conditionally. We need to enable wake-up interrupt
>   * lazily on the first rpm_suspend(). This is needed as the consumer device
> - * starts in RPM_SUSPENDED state, and the the first pm_runtime_get() would
> + * starts in RPM_SUSPENDED state, and the first pm_runtime_get() would
>   * otherwise try to disable already disabled wakeirq. The wake-up interrupt
>   * starts disabled with IRQ_NOAUTOEN set.
>   *
> diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
> index 8666590201c9..a57d469676ca 100644
> --- a/drivers/base/power/wakeup.c
> +++ b/drivers/base/power/wakeup.c
> @@ -587,7 +587,7 @@ static bool wakeup_source_not_registered(struct wakeup_source *ws)
>   * @ws: Wakeup source to handle.
>   *
>   * Update the @ws' statistics and, if @ws has just been activated, notify the PM
> - * core of the event by incrementing the counter of of wakeup events being
> + * core of the event by incrementing the counter of the wakeup events being
>   * processed.
>   */
>  static void wakeup_source_activate(struct wakeup_source *ws)
> @@ -733,7 +733,7 @@ static void wakeup_source_deactivate(struct wakeup_source *ws)
>  
>  	/*
>  	 * Increment the counter of registered wakeup events and decrement the
> -	 * couter of wakeup events in progress simultaneously.
> +	 * counter of wakeup events in progress simultaneously.
>  	 */
>  	cec = atomic_add_return(MAX_IN_PROGRESS, &combined_event_count);
>  	trace_wakeup_source_deactivate(ws->name, cec);

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ