Skip to content

Commit 215157f

Browse files
Colin Ian KingBoris Brezillon
authored andcommitted
mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages"
trivial fix to spelling mistake in NS_ERR error message Signed-off-by: Colin Ian King <[email protected]> Acked-by: Marek Vasut <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
1 parent 6b244bb commit 215157f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/nand/nandsim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ static int parse_weakpages(void)
901901
zero_ok = (*w == '0' ? 1 : 0);
902902
page_no = simple_strtoul(w, &w, 0);
903903
if (!zero_ok && !page_no) {
904-
NS_ERR("invalid weakpagess.\n");
904+
NS_ERR("invalid weakpages.\n");
905905
return -EINVAL;
906906
}
907907
max_writes = 3;

0 commit comments

Comments
 (0)