[PATCH] mtd: Fix a typo in a comment

Christophe JAILLET posted 1 patch 3 years, 8 months ago
drivers/mtd/mtdpstore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: Fix a typo in a comment
Posted by Christophe JAILLET 3 years, 8 months ago
o and t are swapped.
s/mtdpsotre/mtdpstore/

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 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
Re: [PATCH] mtd: Fix a typo in a comment
Posted by Miquel Raynal 3 years, 6 months ago
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 <christophe.jaillet@wanadoo.fr>

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

Miquel