[PATCH] mtd: rawnand: gpmi: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: rawnand: gpmi: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
index 93da23682d86..01ccbde748f3 100644
--- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
@@ -1361,7 +1361,7 @@ static int gpmi_alloc_dma_buffer(struct gpmi_nand_data *this)
 /*
  * Handles block mark swapping.
  * It can be called in swapping the block mark, or swapping it back,
- * because the the operations are the same.
+ * because the operations are the same.
  */
 static void block_mark_swapping(struct gpmi_nand_data *this,
 				void *payload, void *auxiliary)
-- 
2.36.1
Re: [PATCH] mtd: rawnand: gpmi: Fix comment typo
Posted by Miquel Raynal 3 years, 6 months ago
Hi Jason,

wangborong@cdjrlc.com wrote on Thu, 11 Aug 2022 21:58:54 +0800:

> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>

I've alredy received another patch for that.

Thanks,
Miquèl
Re: [PATCH] mtd: rawnand: gpmi: Fix comment typo
Posted by Zhihao Cheng 3 years, 7 months ago
在 2022/8/11 21:58, Jason Wang 写道:
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>

> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>   drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
> index 93da23682d86..01ccbde748f3 100644
> --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
> +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
> @@ -1361,7 +1361,7 @@ static int gpmi_alloc_dma_buffer(struct gpmi_nand_data *this)
>   /*
>    * Handles block mark swapping.
>    * It can be called in swapping the block mark, or swapping it back,
> - * because the the operations are the same.
> + * because the operations are the same.
>    */
>   static void block_mark_swapping(struct gpmi_nand_data *this,
>   				void *payload, void *auxiliary)
>