abuse of nand_correct_data in tmio_nand driver

Ian molton spyro at f2s.com
Tue Jul 28 09:57:05 EDT 2009


Dmitry Eremin-Solenikov wrote:
> Hi,
> 
> On Tue, Jul 14, 2009 at 11:05:03PM +0900, Atsushi Nemoto wrote:
>> Hi.  I found tmio_nand driver abuses nand_correct_data.
>>
>> The current nand_correct_data() can be used for ecc.bytes = 3 case
>> only.  The tmio_nand driver uses ecc.bytes = 6.
> 
> IIRC, tmio_nand driver accesses two ecc "sectors" at once, so this is
> most probably ok. I'll look into it though, when I have some time.

Are we really the only chip that does this?




More information about the linux-mtd mailing list