Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586837 > unrolled thread
| Started by | Colin King <colin.king@canonical.com> |
|---|---|
| First post | 2017-02-23 12:40 +0100 |
| Last post | 2017-02-23 23:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages" Colin King <colin.king@canonical.com> - 2017-02-23 12:40 +0100
Re: [PATCH] mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages" Marek Vasut <marek.vasut@gmail.com> - 2017-02-23 23:10 +0100
| From | Colin King <colin.king@canonical.com> |
|---|---|
| Date | 2017-02-23 12:40 +0100 |
| Subject | [PATCH] mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages" |
| Message-ID | <tdZUC-Ex-27@gated-at.bofh.it> |
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>
---
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;
--
2.10.2
[toc] | [next] | [standalone]
| From | Marek Vasut <marek.vasut@gmail.com> |
|---|---|
| Date | 2017-02-23 23:10 +0100 |
| Subject | Re: [PATCH] mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages" |
| Message-ID | <te9Ki-7oM-7@gated-at.bofh.it> |
| In reply to | #1586837 |
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;
>
--
Best regards,
Marek Vasut
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web