* Missing breaks in nand_scan_tail ?
@ 2009-07-06 7:53 Felix Radensky
2009-07-06 8:40 ` vimal singh
0 siblings, 1 reply; 2+ messages in thread
From: Felix Radensky @ 2009-07-06 7:53 UTC (permalink / raw)
To: linux-mtd
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Missing breaks in nand_scan_tail ?
2009-07-06 7:53 Missing breaks in nand_scan_tail ? Felix Radensky
@ 2009-07-06 8:40 ` vimal singh
0 siblings, 0 replies; 2+ messages in thread
From: vimal singh @ 2009-07-06 8:40 UTC (permalink / raw)
To: Felix Radensky; +Cc: linux-mtd
On Mon, Jul 6, 2009 at 1:23 PM, Felix Radensky<felix@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/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-06 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 7:53 Missing breaks in nand_scan_tail ? Felix Radensky
2009-07-06 8:40 ` vimal singh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.