2022-08-06 20:16:58

by Christophe JAILLET

[permalink] [raw]
Subject: [PATCH] mtd: Fix a typo in a comment

o and t are swapped.
s/mtdpsotre/mtdpstore/

Signed-off-by: Christophe JAILLET <[email protected]>
---
drivers/mtd/mtdpstore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/mtdpstore.c b/drivers/mtd/mtdpstore.c
index e13d42c0acb0..7ac8ac901306 100644
--- a/drivers/mtd/mtdpstore.c
+++ b/drivers/mtd/mtdpstore.c
@@ -401,7 +401,7 @@ static void mtdpstore_notify_add(struct mtd_info *mtd)
/*
* kmsg_size must be aligned to 4096 Bytes, which is limited by
* psblk. The default value of kmsg_size is 64KB. If kmsg_size
- * is larger than erasesize, some errors will occur since mtdpsotre
+ * is larger than erasesize, some errors will occur since mtdpstore
* is designed on it.
*/
if (mtd->erasesize < info->kmsg_size) {
--
2.34.1


2022-09-19 16:38:10

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] mtd: Fix a typo in a comment

On Sat, 2022-08-06 at 20:07:22 UTC, Christophe JAILLET wrote:
> o and t are swapped.
> s/mtdpsotre/mtdpstore/
>
> Signed-off-by: Christophe JAILLET <[email protected]>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel