2018-01-19 07:56:49

by Colin King

[permalink] [raw]
Subject: [PATCH][V2] mtd: nand: marvell: fix spelling mistake: "suceed"-> "succeed"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistakes in dev_err error message text.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/mtd/nand/marvell_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/marvell_nand.c b/drivers/mtd/nand/marvell_nand.c
index b8fec6093b75..4bd53b360277 100644
--- a/drivers/mtd/nand/marvell_nand.c
+++ b/drivers/mtd/nand/marvell_nand.c
@@ -517,7 +517,7 @@ static int marvell_nfc_prepare_cmd(struct nand_chip *chip)
/* Poll ND_RUN and clear NDSR before issuing any command */
ret = marvell_nfc_wait_ndrun(chip);
if (ret) {
- dev_err(nfc->dev, "Last operation did not suceed\n");
+ dev_err(nfc->dev, "Last operation did not succeed\n");
return ret;
}

--
2.15.1



2018-01-20 13:51:09

by Boris Brezillon

[permalink] [raw]
Subject: Re: [PATCH][V2] mtd: nand: marvell: fix spelling mistake: "suceed"-> "succeed"

On Fri, 19 Jan 2018 07:55:31 +0000
Colin King <[email protected]> wrote:

> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistakes in dev_err error message text.

Applied.

Thanks,

Boris

>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/mtd/nand/marvell_nand.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/marvell_nand.c b/drivers/mtd/nand/marvell_nand.c
> index b8fec6093b75..4bd53b360277 100644
> --- a/drivers/mtd/nand/marvell_nand.c
> +++ b/drivers/mtd/nand/marvell_nand.c
> @@ -517,7 +517,7 @@ static int marvell_nfc_prepare_cmd(struct nand_chip *chip)
> /* Poll ND_RUN and clear NDSR before issuing any command */
> ret = marvell_nfc_wait_ndrun(chip);
> if (ret) {
> - dev_err(nfc->dev, "Last operation did not suceed\n");
> + dev_err(nfc->dev, "Last operation did not succeed\n");
> return ret;
> }
>