[RESUBMIT] [PATCH] [MTD] NAND nand_ecc.c: rewrite for improved performance

Troy Kisky troy.kisky at boundarydevices.com
Sun Aug 17 19:30:14 EDT 2008


> +	if (nr_bits == 11) {	/* correctable error */

This is a necessary, but NOT sufficient condition to
determine that it is a 1 bit error.


Big MAYBE below

This is probably why you passed the big endian test.
It was seeing every read as a single bit error
and silently correcting. Adding a debug print
when correcting or failing to correct would be
useful.

Troy




More information about the linux-mtd mailing list