Missing breaks in nand_scan_tail ?
Hi,
In function nand_scan_tail() in switch statement
switch (chip->ecc.mode) {
...
}
the final break is missing for NAND_ECC_HW and NAND_ECC_HW_SYNDROME cases.
Is this a bug or break is omitted intentionally ?
Thanks.
Felix.
Quoted 6 lines · Felix Radensky
Hi,
In function
nand_scan_tail()in switch statementswitch (
chip->ecc.mode) {
Quoted 7 lines
...
}
the final break is missing for
NAND_ECC_HWandNAND_ECC_HW_SYNDROMEcases.Is this a bug or break is omitted intentionally ?
The final break for these modes is present at line: 2715. See below:
case NAND_ECC_HW_SYNDROME:
-
-
if (mtd->writesize >= chip->ecc.size)
break;-Vimal
Quoted 9 lines
Thanks.
Felix.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/