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 <[email protected]>
---
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
From: Miquel Raynal <[email protected]>
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 <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel