[PATCH] NAND Flash support for Intel IXP4xx platform

Vitaly Wool vitalywool at gmail.com
Tue Apr 24 04:34:50 EDT 2007


On 4/24/07, Ruslan V. Sushko <rsushko at ru.mvista.com> wrote:
> > Suppose that the number of partitions obtained by parse_mtd_partitions
> > is the same as configured statically. If add_mtd_partitions fails,
> > ixp4xx_nand_parts != plat->parts is false and kfree won't be called.
> It's impossible because ixp4xx_nand_parts and plat->parts hold pointers
> to mtd_partions structure, not number of partions. Number of partitions
> held in nb_of_parts variable.

Oh shoot, right, thanks!

Vitaly




More information about the linux-mtd mailing list