diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-02-23 14:30:48 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-16 12:23:38 +0300 |
commit | 215157fb5338129b4b9f2dca23826084e71bcf4d (patch) | |
tree | 29041dc1f04b441adbbd5bcf725b80c3fc77d4dd /drivers/mtd/nand/nandsim.c | |
parent | 6b244bbf0ddfcb5539bcf4e60d8799c926b0108d (diff) | |
download | linux-215157fb5338129b4b9f2dca23826084e71bcf4d.tar.xz |
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.c | 2 |
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; |