[PATCH] mtd: rawnand: sm_common: drop unexpected word 'is' in the comments

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/mtd/nand/raw/sm_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: rawnand: sm_common: drop unexpected word 'is' in the comments
Posted by Jiang Jian 3 years, 10 months ago
there is an unexpected word 'is' in the comments that need to be dropped

file: drivers/mtd/nand/raw/sm_common.c
line: 55

/* NOTE: This layout is is not compatabable with SmartMedia, */

changed to:

/* NOTE: This layout is not compatabable with SmartMedia, */

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/mtd/nand/raw/sm_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/sm_common.c b/drivers/mtd/nand/raw/sm_common.c
index ba24cb36d0b9..b2b42dd1a2de 100644
--- a/drivers/mtd/nand/raw/sm_common.c
+++ b/drivers/mtd/nand/raw/sm_common.c
@@ -52,7 +52,7 @@ static const struct mtd_ooblayout_ops oob_sm_ops = {
 	.free = oob_sm_ooblayout_free,
 };
 
-/* NOTE: This layout is is not compatabable with SmartMedia, */
+/* NOTE: This layout is not compatabable with SmartMedia, */
 /* because the 256 byte devices have page depenent oob layout */
 /* However it does preserve the bad block markers */
 /* If you use smftl, it will bypass this and work correctly */
-- 
2.17.1
Re: [PATCH] mtd: rawnand: sm_common: drop unexpected word 'is' in the comments
Posted by miquel.raynal@bootlin.com 3 years, 9 months ago
From: Miquel Raynal <miquel.raynal@bootlin.com>

On Wed, 2022-06-22 at 16:05:11 UTC, Jiang Jian wrote:
> there is an unexpected word 'is' in the comments that need to be dropped
> 
> file: drivers/mtd/nand/raw/sm_common.c
> line: 55
> 
> /* NOTE: This layout is is not compatabable with SmartMedia, */
> 
> changed to:
> 
> /* NOTE: This layout is not compatabable with SmartMedia, */
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel