Re: [PATCH] mtd: rawnand: fix spelling mistake "gravepagess" -> "gravepages"
From: Miquel Raynal
Date: Fri Sep 13 2019 - 08:33:23 EST
Hi Colin,
Colin King <colin.king@xxxxxxxxxxxxx> wrote on Fri, 13 Sep 2019
10:22:43 +0100:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> ---
> 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