Skip to content

Commit dfea8f7

Browse files
Xichao Zhaomiquelraynal
authored andcommitted
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>
1 parent c9f6256 commit dfea8f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/nand/ecc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ void nand_ecc_tweak_req(struct nand_ecc_req_tweak_ctx *ctx,
552552
memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size);
553553
}
554554

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 */
556556
if (orig->type == NAND_PAGE_WRITE) {
557557
if (ctx->bounce_data)
558558
memcpy((void *)tweak->databuf.out + orig->dataoffs,

0 commit comments

Comments
 (0)