mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages"

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 10 19:59:06 PDT 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=215157fb5338129b4b9f2dca23826084e71bcf4d
Commit:     215157fb5338129b4b9f2dca23826084e71bcf4d
Parent:     6b244bbf0ddfcb5539bcf4e60d8799c926b0108d
Author:     Colin Ian King <colin.king at canonical.com>
AuthorDate: Thu Feb 23 11:30:48 2017 +0000
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Thu Mar 16 10:23:38 2017 +0100

    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 at canonical.com>
    Acked-by: Marek Vasut <marek.vasut at gmail.com>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 drivers/mtd/nand/nandsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index c847426..cef818f 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;



More information about the linux-mtd-cvs mailing list