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

mtd: nand: ecc: fix "writen"->"written"

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Xichao Zhao and committed by
Miquel Raynal
dfea8f71 c9f62564

+1 -1
+1 -1
drivers/mtd/nand/ecc.c
··· 552 552 memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size); 553 553 } 554 554 555 - /* Copy the data that must be writen in the bounce buffers, if needed */ 555 + /* Copy the data that must be written in the bounce buffers, if needed */ 556 556 if (orig->type == NAND_PAGE_WRITE) { 557 557 if (ctx->bounce_data) 558 558 memcpy((void *)tweak->databuf.out + orig->dataoffs,