[PATCH] mtd: sm_ftl: Fix typos in comments

From: Deming Wang
Date: Tue Jun 20 2023 - 21:52:36 EST


From: Bo Liu <liubo03@xxxxxxxxxx>

Fix typo in the description of the 'succesfull'.

Signed-off-by: Bo Liu <liubo03@xxxxxxxxxx>
---
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