2022-08-23 17:14:21

by wangjianli

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

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[email protected]>
---
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


2022-08-25 10:02:23

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH] mmc/host: fix repeated words in comments

On Tue, 23 Aug 2022 at 16:30, wangjianli <[email protected]> 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 <[email protected]>
> ---
> 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
>