From: Colin Ian King <[email protected]>
Trival fix of two spelling mistakes in dev_err error messages:
"supportes" -> "supports" and "strenght" -> "strength"
Signed-off-by: Colin Ian King <[email protected]>
---
drivers/mtd/nand/raw/tegra_nand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/tegra_nand.c b/drivers/mtd/nand/raw/tegra_nand.c
index 4daa88d81413..9f7de36be893 100644
--- a/drivers/mtd/nand/raw/tegra_nand.c
+++ b/drivers/mtd/nand/raw/tegra_nand.c
@@ -1002,14 +1002,14 @@ static int tegra_nand_chips_init(struct device *dev,
}
if (chip->ecc.algo == NAND_ECC_BCH && mtd->writesize < 2048) {
- dev_err(dev, "BCH supportes 2K or 4K page size only\n");
+ dev_err(dev, "BCH supports 2K or 4K page size only\n");
return -EINVAL;
}
if (!chip->ecc.strength) {
ret = tegra_nand_select_strength(chip, mtd->oobsize);
if (ret < 0) {
- dev_err(dev, "No valid strenght found, minimum %d\n",
+ dev_err(dev, "No valid strength found, minimum %d\n",
chip->ecc_strength_ds);
return ret;
}
--
2.17.1
On 26.06.2018 12:26, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trival fix of two spelling mistakes in dev_err error messages:
> "supportes" -> "supports" and "strenght" -> "strength"
Acked-by: Stefan Agner <[email protected]>
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/mtd/nand/raw/tegra_nand.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/raw/tegra_nand.c
> b/drivers/mtd/nand/raw/tegra_nand.c
> index 4daa88d81413..9f7de36be893 100644
> --- a/drivers/mtd/nand/raw/tegra_nand.c
> +++ b/drivers/mtd/nand/raw/tegra_nand.c
> @@ -1002,14 +1002,14 @@ static int tegra_nand_chips_init(struct device *dev,
> }
>
> if (chip->ecc.algo == NAND_ECC_BCH && mtd->writesize < 2048) {
> - dev_err(dev, "BCH supportes 2K or 4K page size only\n");
> + dev_err(dev, "BCH supports 2K or 4K page size only\n");
> return -EINVAL;
> }
>
> if (!chip->ecc.strength) {
> ret = tegra_nand_select_strength(chip, mtd->oobsize);
> if (ret < 0) {
> - dev_err(dev, "No valid strenght found, minimum %d\n",
> + dev_err(dev, "No valid strength found, minimum %d\n",
> chip->ecc_strength_ds);
> return ret;
> }
Hi Colin,
> On 26.06.2018 12:26, Colin King wrote:
> > From: Colin Ian King <[email protected]>
> >
> > Trival fix of two spelling mistakes in dev_err error messages:
> > "supportes" -> "supports" and "strenght" -> "strength"
>
> Acked-by: Stefan Agner <[email protected]>
>
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
Thanks for fixing this, I squashed this change with the patch adding
the driver itself.
Thanks,
Miquèl