Skip to contentSkip to conversation

mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages"

PATCH In review Colin King 2 participants 2 messages Sep 13, 2019

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

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.

---
 drivers/mtd/nand/raw/nandsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/nandsim.c +1 -1
index 9a70754a61ef..76c31d1dea31 100644
@@ -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
maintainer
#1 lore raw

Hi 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_ERR error message. Fix it.

A Fixes tag would be great!

Quoted 11 lines
---
 drivers/mtd/nand/raw/nandsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/nandsim.c +0 -0
index 9a70754a61ef..76c31d1dea31 100644

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