Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Trivial typo fix in comment.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

authored by

Nobuhiro Iwamatsu and committed by
Brian Norris
5d708ecc 34da5f5f

+3 -3
+1 -1
drivers/mtd/mtdchar.c
··· 451 451 * data. For our userspace tools it is important to dump areas 452 452 * with ECC errors! 453 453 * For kernel internal usage it also might return -EUCLEAN 454 - * to signal the caller that a bitflip has occured and has 454 + * to signal the caller that a bitflip has occurred and has 455 455 * been corrected by the ECC algorithm. 456 456 * 457 457 * Note: currently the standard NAND function, nand_read_oob_std,
+2 -2
drivers/mtd/spi-nor/spi-nor.c
··· 122 122 /* 123 123 * Read configuration register, returning its value in the 124 124 * location. Return the configuration register value. 125 - * Returns negative if error occured. 125 + * Returns negative if error occurred. 126 126 */ 127 127 static int read_cr(struct spi_nor *nor) 128 128 { ··· 1236 1236 * Write status Register and configuration register with 2 bytes 1237 1237 * The first byte will be written to the status register, while the 1238 1238 * second byte will be written to the configuration register. 1239 - * Return negative if error occured. 1239 + * Return negative if error occurred. 1240 1240 */ 1241 1241 static int write_sr_cr(struct spi_nor *nor, u16 val) 1242 1242 {