mtd: Fix a typo in a comment
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 6 Aug 2022 20:07:22 +0000 (22:07 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Sep 2022 16:14:53 +0000 (18:14 +0200)
o and t are swapped.
s/mtdpsotre/mtdpstore/

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/de1b1134f056ea7563bb0a9bb2f66ede1475728d.1659816434.git.christophe.jaillet@wanadoo.fr
drivers/mtd/mtdpstore.c

index e13d42c..7ac8ac9 100644 (file)
@@ -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) {