projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefa1aa
)
mtd: sm_ftl: Fix typos in comments
author
Bo Liu
<liubo03@inspur.com>
Wed, 21 Jun 2023 02:03:31 +0000
(22:03 -0400)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Thu, 22 Jun 2023 21:00:43 +0000
(23:00 +0200)
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
drivers/mtd/sm_ftl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/sm_ftl.c
b/drivers/mtd/sm_ftl.c
index 4cfec3b7b4461d585381a5037ac8c81e807bba10..b5b3c4c44a94c410a2c4dee725d58dccb6ce6842 100644
(file)
--- 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 succes
ful
l, so erase and free the old block */
+ /* Write succes
sfu
l, so erase and free the old block */
if (block_num > 0)
sm_erase_block(ftl, zone_num, block_num, 1);