Re: [PATCH] drivers/ata: fix repeated words in comments
From: Conor.Dooley
Date: Thu Sep 08 2022 - 08:56:59 EST
On 08/09/2022 13:49, wangjianli wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <wangjianli@xxxxxxxxxx>
> ---
> drivers/ata/libata-eh.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
> index 7c128c89b454..ca865a95cf24 100644
> --- a/drivers/ata/libata-eh.c
> +++ b/drivers/ata/libata-eh.c
> @@ -863,7 +863,7 @@ void ata_eh_fastdrain_timerfn(struct timer_list *t)
> *
> * Set ATA_PFLAG_EH_PENDING and activate fast drain if @fastdrain
> * is non-zero and EH wasn't pending before. Fast drain ensures
> - * that EH kicks in in timely manner.
> + * that EH kicks in timely manner.
Hey wangjianli,
This does not look like the right fix to me.. To me, it looks like it
should be s/in in/in in a/.
If you're using an automated tool, which I can only assume you are,
to find these typos it'd be a good idea to check the output for
correctness prior to sending patches.
Thanks,
Conor.
> *
> * LOCKING:
> * spin_lock_irqsave(host lock)
> --
> 2.36.1
>