summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nandsim.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-23 12:30:48 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-03-16 10:23:38 +0100
commit215157fb5338129b4b9f2dca23826084e71bcf4d (patch)
tree29041dc1f04b441adbbd5bcf725b80c3fc77d4dd /drivers/mtd/nand/nandsim.c
parentmtd: nand: sunxi: simplify optional reset handling (diff)
downloadlinux-215157fb5338129b4b9f2dca23826084e71bcf4d.tar.xz
linux-215157fb5338129b4b9f2dca23826084e71bcf4d.zip
mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages"
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>
Diffstat (limited to 'drivers/mtd/nand/nandsim.c')
-rw-r--r--drivers/mtd/nand/nandsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index c84742671a5f..cef818f535ed 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -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;