Missing breaks in nand_scan_tail ?
vimal singh
vimal.newwork at gmail.com
Mon Jul 6 04:40:45 EDT 2009
On Mon, Jul 6, 2009 at 1:23 PM, Felix Radensky<felix at embedded-sol.com> wrote:
> 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 ?
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
>
> Thanks.
>
> Felix.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
More information about the linux-mtd
mailing list