abuse of nand_correct_data in tmio_nand driver

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sat Jul 18 20:11:27 EDT 2009


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.

-- 
With best wishes
Dmitry




More information about the linux-mtd mailing list