mtd: Fix typo: "occured" -> "occurred"

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 12 18:59:03 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=5d708ecc6c7718c22bcacabff0fbb32ecd19ad6b
Commit:     5d708ecc6c7718c22bcacabff0fbb32ecd19ad6b
Parent:     34da5f5f3bf5c0df1bd5528a98e07bd5a224e9d4
Author:     Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw at hitachi.com>
AuthorDate: Fri Jan 27 10:36:38 2017 +0900
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Feb 8 14:24:57 2017 -0800

    mtd: Fix typo: "occured" -> "occurred"
    
    Trivial typo fix in comment.
    
    Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw at hitachi.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.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 ce5ccc5..3568294 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 da7cd69..f6bde55 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)
 {
@@ -1236,7 +1236,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)
 {



More information about the linux-mtd-cvs mailing list