2023-06-21 02:18:29

by Deming Wang

[permalink] [raw]
Subject: [PATCH] mtd: sm_ftl: Fix typos in comments

From: Bo Liu <[email protected]>

Fix typo in the description of the 'succesfull'.

Signed-off-by: Bo Liu <[email protected]>
---
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