mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages"
Subsystems (3)
PATCH 1/1 mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages"
From: Colin Ian King <[email protected]>
There is a spelling mistake in a NS_ERR error message. Fix it.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/mtd/nand/raw/nandsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/nandsim.c +1 -1
@@ -910,7 +910,7 @@ static int parse_gravepages(void) zero_ok = (*g ='0' ?1 :0 ); page_no =simple_strtoul (g, &g,0 );if (!zero_ok && !page_no) { -NS_ERR ("invalid gravepagess.\n" ); +NS_ERR ("invalid gravepages.\n" );return -EINVAL ; } max_reads =3 ;
Signature · 1 line
2.20.1
Miquel Raynal
maintainerHi Colin,
Colin King <[email protected]> wrote on Fri, 13 Sep 2019 10:22:43 +0100:
Quoted 3 lines
From: Colin Ian King <[email protected]>
There is a spelling mistake in a
NS_ERRerror message. Fix it.
A Fixes tag would be great!
Quoted 11 lines
Signed-off-by Colin Ian King <[email protected]>--- drivers/mtd/nand/raw/nandsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/nand/raw/nandsim.c +0
-0
drivers/mtd/nand/raw/nandsim.c static int parse_gravepages(void) · line 916
Quoted 8 lines
drivers/mtd/nand/raw/nandsim.c +1
-1@@ -910,7 +910,7 @@ static int parse_gravepages(void) zero_ok = (*g ='0' ?1 :0 ); page_no =simple_strtoul (g, &g,0 );if (!zero_ok && !page_no) { -NS_ERR ("invalid gravepagess.\n" ); +NS_ERR ("invalid gravepages.\n" );return -EINVAL ; } max_reads =3 ;
Thanks,
Miquèl