2022-08-10 13:42:55

by Jilin Yuan

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

Delete the redundant word 'it'.

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


2022-09-19 16:12:55

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] drivers/mtd: fix repeated words in comments

Hi Jilin,

[email protected] wrote on Wed, 10 Aug 2022 21:15:39 +0800:

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

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