mtd: sm_ftl: Fix typo in comment in sm_read_lba
PATCH 1/1 mtd: sm_ftl: Fix typo in comment in sm_read_lba
s/is/if/
Signed-off-by Thorsten Blum <[email protected]>
--- drivers/mtd/sm_ftl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/sm_ftl.c +1 -1
@@ -157,7 +157,7 @@ static int sm_read_lba(struct sm_oob *oob)if (!memcmp (oob, erased_pattern,SM_OOB_SIZE ))return -1 ; -/* Now check is both copies of the LBA differ too much */ +/* Now check if both copies of the LBA differ too much */ lba_test = *(uint16_t *)oob->lba_copy1 ^ *(uint16_t *)oob->lba_copy2;if (lba_test && !is_power_of_2 (lba_test))return -2 ;
Signature · 2 lines
Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Quoted 3 lines · Thorsten Blum
s/is/if/
Applied to mtd/next, thanks!
[1/1] mtd: sm_ftl: Fix typo in comment in sm_read_lba
commit: 2158890a1af19e13ed222cda3623c8a11d3ec3b4
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl