Message ID | 20170223113048.13208-1-colin.king@canonical.com |
---|---|
State | Accepted |
Commit | 215157fb5338129b4b9f2dca23826084e71bcf4d |
Delegated to: | Boris Brezillon |
Headers | show |
On 02/23/2017 12:30 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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> Thanks > --- > 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; >
On Thu, 23 Feb 2017 11:30:48 +0000 Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > trivial fix to spelling mistake in NS_ERR error message > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Applied. Thanks, Boris > --- > 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;
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;