[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180626102629.31083-1-colin.king@canonical.com>
Date: Tue, 26 Jun 2018 11:26:29 +0100
From: Colin King <colin.king@...onical.com>
To: Stefan Agner <stefan@...er.ch>, Lucas Stach <dev@...xeye.de>,
Boris Brezillon <boris.brezillon@...tlin.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-mtd@...ts.infradead.org, linux-tegra@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][next] mtd: rawnand: fix a couple of spelling mistakes
From: Colin Ian King <colin.king@...onical.com>
Trival fix of two spelling mistakes in dev_err error messages:
"supportes" -> "supports" and "strenght" -> "strength"
Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
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
Powered by blists - more mailing lists