[PATCH] drivers/mtd: fix repeated words in comments

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

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/mtd/inftlcore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c
index 6b48397c750c..1709f7f6bf6f 100644
--- a/drivers/mtd/inftlcore.c
+++ b/drivers/mtd/inftlcore.c
@@ -356,7 +356,7 @@ static u16 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned
 	 * Newest unit in chain now contains data from _all_ older units.
 	 * So go through and erase each unit in chain, oldest first. (This
 	 * is important, by doing oldest first if we crash/reboot then it
-	 * it is relatively simple to clean up the mess).
+	 * is relatively simple to clean up the mess).
 	 */
 	pr_debug("INFTL: want to erase virtual chain %d\n", thisVUC);
 
-- 
2.36.1
Re: [PATCH] drivers/mtd: fix repeated words in comments
Posted by Miquel Raynal 3 years, 6 months ago
Hi Jilin,

yuanjilin@cdjrlc.com wrote on Wed, 10 Aug 2022 21:15:39 +0800:

>  Delete the redundant word 'it'.
  ^
No space 

> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  drivers/mtd/inftlcore.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c
> index 6b48397c750c..1709f7f6bf6f 100644
> --- a/drivers/mtd/inftlcore.c
> +++ b/drivers/mtd/inftlcore.c
> @@ -356,7 +356,7 @@ static u16 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned
>  	 * Newest unit in chain now contains data from _all_ older units.
>  	 * So go through and erase each unit in chain, oldest first. (This
>  	 * is important, by doing oldest first if we crash/reboot then it
> -	 * it is relatively simple to clean up the mess).
> +	 * is relatively simple to clean up the mess).

Please send only one patch for the three "double words" you've found in
mtd, and prefix the subject with "mtd: ".

>  	 */
>  	pr_debug("INFTL: want to erase virtual chain %d\n", thisVUC);
>  


Thanks,
Miquèl