diff mbox series

mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages"

Message ID 20190913092243.7399-1-colin.king@canonical.com
State Changes Requested
Delegated to: Miquel Raynal
Headers show
Series mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages" | expand

Commit Message

Colin Ian King Sept. 13, 2019, 9:22 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in a NS_ERR error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/mtd/nand/raw/nandsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Miquel Raynal Sept. 13, 2019, 12:33 p.m. UTC | #1
Hi Colin,

Colin King <colin.king@canonical.com> wrote on Fri, 13 Sep 2019
10:22:43 +0100:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in a NS_ERR error message. Fix it.

A Fixes tag would be great!

> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/mtd/nand/raw/nandsim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/nandsim.c b/drivers/mtd/nand/raw/nandsim.c
> index 9a70754a61ef..76c31d1dea31 100644
> --- a/drivers/mtd/nand/raw/nandsim.c
> +++ b/drivers/mtd/nand/raw/nandsim.c
> @@ -910,7 +910,7 @@ static int parse_gravepages(void)
>  		zero_ok = (*g == '0' ? 1 : 0);
>  		page_no = simple_strtoul(g, &g, 0);
>  		if (!zero_ok && !page_no) {
> -			NS_ERR("invalid gravepagess.\n");
> +			NS_ERR("invalid gravepages.\n");
>  			return -EINVAL;
>  		}
>  		max_reads = 3;


Thanks,
Miquèl
diff mbox series

Patch

diff --git a/drivers/mtd/nand/raw/nandsim.c b/drivers/mtd/nand/raw/nandsim.c
index 9a70754a61ef..76c31d1dea31 100644
--- a/drivers/mtd/nand/raw/nandsim.c
+++ b/drivers/mtd/nand/raw/nandsim.c
@@ -910,7 +910,7 @@  static int parse_gravepages(void)
 		zero_ok = (*g == '0' ? 1 : 0);
 		page_no = simple_strtoul(g, &g, 0);
 		if (!zero_ok && !page_no) {
-			NS_ERR("invalid gravepagess.\n");
+			NS_ERR("invalid gravepages.\n");
 			return -EINVAL;
 		}
 		max_reads = 3;