[PATCH] mtd: nand: ecc: fix "writen"->"written"

Xichao Zhao posted 1 patch 3 weeks, 2 days ago
drivers/mtd/nand/ecc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: nand: ecc: fix "writen"->"written"
Posted by Xichao Zhao 3 weeks, 2 days ago
Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 drivers/mtd/nand/ecc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/ecc.c b/drivers/mtd/nand/ecc.c
index 8f996e8d61b8..6ccdff3fc913 100644
--- a/drivers/mtd/nand/ecc.c
+++ b/drivers/mtd/nand/ecc.c
@@ -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,
-- 
2.34.1
Re: [PATCH] mtd: nand: ecc: fix "writen"->"written"
Posted by Miquel Raynal 3 weeks, 1 day ago
On Tue, 09 Sep 2025 10:06:35 +0800, Xichao Zhao wrote:
> Trivial fix to spelling mistake in comment text.
> 
> 

Applied to nand/next, thanks!

[1/1] mtd: nand: ecc: fix "writen"->"written"
      commit: dfea8f7183c711f2bf6af7aaef2a07e30b36a367

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl