[PATCH] mtd: sm_ftl: Fix typos in comments

Deming Wang wangdeming at inspur.com
Tue Jun 20 18:52:22 PDT 2023


From: Bo Liu <liubo03 at inspur.com>

Fix typo in the description of the 'succesfull'.

Signed-off-by: Bo Liu <liubo03 at inspur.com>
---
 drivers/mtd/sm_ftl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index 4cfec3b7b446..b5b3c4c44a94 100644
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -981,7 +981,7 @@ static int sm_cache_flush(struct sm_ftl *ftl)
 	/* Update the FTL table */
 	zone->lba_to_phys_table[ftl->cache_block] = write_sector;
 
-	/* Write succesfull, so erase and free the old block */
+	/* Write successful, so erase and free the old block */
 	if (block_num > 0)
 		sm_erase_block(ftl, zone_num, block_num, 1);
 
-- 
2.27.0




More information about the linux-mtd mailing list