summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2023-06-21 04:03:31 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-06-22 23:00:43 +0200
commitefd2ed9351efefe40cbcca36a527adf38ffe1b4d (patch)
treef5bc6364778f8fb1ffb64791ed55c91072fe0800 /drivers
parentmtd: otp: clean up on error in mtd_otp_nvmem_add() (diff)
downloadlinux-efd2ed9351efefe40cbcca36a527adf38ffe1b4d.tar.xz
linux-efd2ed9351efefe40cbcca36a527adf38ffe1b4d.zip
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')
-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);