2022-08-11 14:32:17

by Jason Wang

[permalink] [raw]
Subject: [PATCH] mtd: rawnand: gpmi: Fix comment typo

The double `the' is duplicated in the comment, remove one.

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


2022-08-17 06:22:44

by Zhihao Cheng

[permalink] [raw]
Subject: Re: [PATCH] mtd: rawnand: gpmi: Fix comment typo

?? 2022/8/11 21:58, Jason Wang д??:
Reviewed-by: Zhihao Cheng <[email protected]>

> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> 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)
>

2022-09-20 08:36:48

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] mtd: rawnand: gpmi: Fix comment typo

Hi Jason,

[email protected] 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 <[email protected]>

I've alredy received another patch for that.

Thanks,
Miquèl