[PATCH] fix small nand_base errors

Vitaly Wool vwool at ru.mvista.com
Wed Sep 13 11:01:41 EDT 2006


Thomas,

Vitaly Wool wrote:
> Hi Thomas,
>
> please find the patch that fixes small nand_base errors inlined.
> Brief explanation: for nand_write_oob_syndrome, you should first set the position to eccsize, as OOB starts past the eccsize, not eccsize + chunk.
> For nand_fill_oob I guess that's just a typo, otherwise it just doesn't make sense (and OTOH makes this routine write to 0-th OOB byte thus actually marking it as bad).
>   
Can't see this patch applied, which makes NAND base fail for me.

Vitaly




More information about the linux-mtd mailing list