[PATCH] mmc/host: fix repeated words in comments

wangjianli posted 1 patch 3 years, 7 months ago
There is a newer version of this series
drivers/mmc/host/dw_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mmc/host: fix repeated words in comments
Posted by wangjianli 3 years, 7 months ago
Delete the redundant word 'the'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/mmc/host/dw_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 581614196a84..7f00d7d7e35e 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -1363,7 +1363,7 @@ static void __dw_mci_start_request(struct dw_mci *host,
 		 * is just about to roll over.
 		 *
 		 * We do this whole thing under spinlock and only if the
-		 * command hasn't already completed (indicating the the irq
+		 * command hasn't already completed (indicating the irq
 		 * already ran so we don't want the timeout).
 		 */
 		spin_lock_irqsave(&host->irq_lock, irqflags);
-- 
2.36.1
Re: [PATCH] mmc/host: fix repeated words in comments
Posted by Ulf Hansson 3 years, 7 months ago
On Tue, 23 Aug 2022 at 16:30, wangjianli <wangjianli@cdjrlc.com> wrote:
>
> Delete the redundant word 'the'.

Patches that correct spelling mistakes make sense to me. However, I am
no longer willing to pick one patch per spelling mistake, it's just
silly and I feel like I waste my time.

Instead, I suggest you go through all mmc host drivers and fix *all*
of the spelling mistakes in one single patch. The similar can be done
for the mmc core.

Kind regards
Uffe

>
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  drivers/mmc/host/dw_mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 581614196a84..7f00d7d7e35e 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -1363,7 +1363,7 @@ static void __dw_mci_start_request(struct dw_mci *host,
>                  * is just about to roll over.
>                  *
>                  * We do this whole thing under spinlock and only if the
> -                * command hasn't already completed (indicating the the irq
> +                * command hasn't already completed (indicating the irq
>                  * already ran so we don't want the timeout).
>                  */
>                 spin_lock_irqsave(&host->irq_lock, irqflags);
> --
> 2.36.1
>