summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2023-06-21 05:03:31 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-06-23 00:00:43 +0300
commitefd2ed9351efefe40cbcca36a527adf38ffe1b4d (patch)
treef5bc6364778f8fb1ffb64791ed55c91072fe0800 /drivers/mtd
parentcefa1aaa31bd7bb73a37c15ec66a9353753b2abc (diff)
downloadlinux-efd2ed9351efefe40cbcca36a527adf38ffe1b4d.tar.xz
mtd: sm_ftl: Fix typos in comments
Fix typo in the description of the 'succesfull'. Signed-off-by: Bo Liu <liubo03@inspur.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230621020331.1508-1-wangdeming@inspur.com
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/sm_ftl.c2
1 files changed, 1 insertions, 1 deletions
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 @@ restart:
/* 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);