* [PATCH] mtd: Fix typo: "occured" -> "occurred"
@ 2017-01-27 1:36 Nobuhiro Iwamatsu
2017-02-08 22:25 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2017-01-27 1:36 UTC (permalink / raw)
To: linux-mtd; +Cc: Nobuhiro Iwamatsu
Trivial typo fix in comment.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
---
drivers/mtd/mtdchar.c | 2 +-
drivers/mtd/spi-nor/spi-nor.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c
index ce5ccc573a9c..3568294d4854 100644
--- a/drivers/mtd/mtdchar.c
+++ b/drivers/mtd/mtdchar.c
@@ -451,7 +451,7 @@ static int mtdchar_readoob(struct file *file, struct mtd_info *mtd,
* data. For our userspace tools it is important to dump areas
* with ECC errors!
* For kernel internal usage it also might return -EUCLEAN
- * to signal the caller that a bitflip has occured and has
+ * to signal the caller that a bitflip has occurred and has
* been corrected by the ECC algorithm.
*
* Note: currently the standard NAND function, nand_read_oob_std,
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index a2a6922e356f..5fb144bdeca6 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -122,7 +122,7 @@ static int read_fsr(struct spi_nor *nor)
/*
* Read configuration register, returning its value in the
* location. Return the configuration register value.
- * Returns negative if error occured.
+ * Returns negative if error occurred.
*/
static int read_cr(struct spi_nor *nor)
{
@@ -1237,7 +1237,7 @@ static int macronix_quad_enable(struct spi_nor *nor)
* Write status Register and configuration register with 2 bytes
* The first byte will be written to the status register, while the
* second byte will be written to the configuration register.
- * Return negative if error occured.
+ * Return negative if error occurred.
*/
static int write_sr_cr(struct spi_nor *nor, u16 val)
{
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: Fix typo: "occured" -> "occurred"
2017-01-27 1:36 [PATCH] mtd: Fix typo: "occured" -> "occurred" Nobuhiro Iwamatsu
@ 2017-02-08 22:25 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2017-02-08 22:25 UTC (permalink / raw)
To: Nobuhiro Iwamatsu; +Cc: linux-mtd
On Fri, Jan 27, 2017 at 10:36:38AM +0900, Nobuhiro Iwamatsu wrote:
> Trivial typo fix in comment.
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Applied to l2-mtd.git
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 22:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27 1:36 [PATCH] mtd: Fix typo: "occured" -> "occurred" Nobuhiro Iwamatsu
2017-02-08 22:25 ` Brian Norris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).