mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 13:25:20 +02:00
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
This commit is contained in:
parent
cefa1aaa31
commit
efd2ed9351
|
@ -981,7 +981,7 @@ restart:
|
||||||
/* Update the FTL table */
|
/* Update the FTL table */
|
||||||
zone->lba_to_phys_table[ftl->cache_block] = write_sector;
|
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)
|
if (block_num > 0)
|
||||||
sm_erase_block(ftl, zone_num, block_num, 1);
|
sm_erase_block(ftl, zone_num, block_num, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user