]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mtd: sm_ftl: Fix typo in comment in sm_read_lba
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 24 Nov 2025 12:31:25 +0000 (13:31 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 29 Nov 2025 12:50:35 +0000 (13:50 +0100)
s/is/if/

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/sm_ftl.c

index 987d481bf26572632508a9628ee2bf67df813f9e..5988cba30eb3465af3d2e1eed71d3d6b6d7832fb 100644 (file)
@@ -156,7 +156,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;