]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages"
authorColin Ian King <colin.king@canonical.com>
Thu, 23 Feb 2017 11:30:48 +0000 (11:30 +0000)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 16 Mar 2017 09:23:38 +0000 (10:23 +0100)
trivial fix to spelling mistake in NS_ERR error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nandsim.c

index c84742671a5f9782a23bec53b0182de0e8871289..cef818f535ed603ce4c6eebc29277642320dc2a1 100644 (file)
@@ -901,7 +901,7 @@ static int parse_weakpages(void)
                zero_ok = (*w == '0' ? 1 : 0);
                page_no = simple_strtoul(w, &w, 0);
                if (!zero_ok && !page_no) {
-                       NS_ERR("invalid weakpagess.\n");
+                       NS_ERR("invalid weakpages.\n");
                        return -EINVAL;
                }
                max_writes = 3;