Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 215157fb authored by Colin Ian King's avatar Colin Ian King Committed by Boris Brezillon
Browse files

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



trivial fix to spelling mistake in NS_ERR error message

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 6b244bbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;