Commit 2158890a authored by Thorsten Blum's avatar Thorsten Blum Committed by Miquel Raynal
Browse files

mtd: sm_ftl: Fix typo in comment in sm_read_lba

parent f3dc4d98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;