]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: nand: ecc: fix "writen"->"written"
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 9 Sep 2025 02:06:35 +0000 (10:06 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 10 Sep 2025 08:02:57 +0000 (10:02 +0200)
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>
drivers/mtd/nand/ecc.c

index 8f996e8d61b86b6a0a72697e8d6e21a34a9d944b..6ccdff3fc913bed285b274a7f86019df7539ac18 100644 (file)
@@ -552,7 +552,7 @@ void nand_ecc_tweak_req(struct nand_ecc_req_tweak_ctx *ctx,
                memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size);
        }
 
-       /* Copy the data that must be writen in the bounce buffers, if needed */
+       /* Copy the data that must be written in the bounce buffers, if needed */
        if (orig->type == NAND_PAGE_WRITE) {
                if (ctx->bounce_data)
                        memcpy((void *)tweak->databuf.out + orig->dataoffs,