Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d708ecc authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Brian Norris
Browse files

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



Trivial typo fix in comment.

Signed-off-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 34da5f5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
+2 −2
Original line number Diff line number Diff line
@@ -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)
{