[PATCH] fix small nand_base errors

tglx at linutronix.de tglx at linutronix.de
Thu Sep 14 05:07:08 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.

Blame dwmw2. It's in my git tree since 2 month

http://git.infradead.org/?p=users/gleixner/mtd-nand-2.6.git;a=commit;h=8b0036eefd7a96f23244b969417684c8627f5ad6

  tglx






More information about the linux-mtd mailing list