···451451 * data. For our userspace tools it is important to dump areas452452 * with ECC errors!453453 * For kernel internal usage it also might return -EUCLEAN454454- * to signal the caller that a bitflip has occured and has454454+ * to signal the caller that a bitflip has occurred and has455455 * been corrected by the ECC algorithm.456456 *457457 * Note: currently the standard NAND function, nand_read_oob_std,
+2-2
drivers/mtd/spi-nor/spi-nor.c
···122122/*123123 * Read configuration register, returning its value in the124124 * location. Return the configuration register value.125125- * Returns negative if error occured.125125+ * Returns negative if error occurred.126126 */127127static int read_cr(struct spi_nor *nor)128128{···12361236 * Write status Register and configuration register with 2 bytes12371237 * The first byte will be written to the status register, while the12381238 * second byte will be written to the configuration register.12391239- * Return negative if error occured.12391239+ * Return negative if error occurred.12401240 */12411241static int write_sr_cr(struct spi_nor *nor, u16 val)12421242{