2022-09-07 02:39:37

by Deming Wang

[permalink] [raw]
Subject: [PATCH] mtd: Fix spelling typo in comment

Modify the maxiumum to maximum

Signed-off-by: Deming Wang <[email protected]>
---
drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
index 8bb17c5a66c3..276c529014d5 100644
--- a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
+++ b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
@@ -14,7 +14,8 @@
#include <linux/bcma/bcma.h>

/* Broadcom uses 1'000'000 but it seems to be too many. Tests on WNDR4500 has
- * shown ~1000 retries as maxiumum. */
+ * shown ~1000 retries as maximum.
+ */
#define NFLASH_READY_RETRIES 10000

#define NFLASH_SECTOR_SIZE 512

base-commit: 840126e36e8ff272cb63158646433fa1324533d9
--
2.27.0


2022-09-19 16:38:46

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] mtd: Fix spelling typo in comment

Hi Deming,

[email protected] wrote on Tue, 6 Sep 2022 09:42:04 -0400:

> Modify the maxiumum to maximum
>
> Signed-off-by: Deming Wang <[email protected]>
> ---
> drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
> index 8bb17c5a66c3..276c529014d5 100644
> --- a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
> +++ b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
> @@ -14,7 +14,8 @@
> #include <linux/bcma/bcma.h>
>
> /* Broadcom uses 1'000'000 but it seems to be too many. Tests on WNDR4500 has
> - * shown ~1000 retries as maxiumum. */
> + * shown ~1000 retries as maximum.
> + */
> #define NFLASH_READY_RETRIES 10000
>
> #define NFLASH_SECTOR_SIZE 512
>
> base-commit: 840126e36e8ff272cb63158646433fa1324533d9

Thanks for the patch but there is an identical commit received one day
before.

Thanks,
Miquèl