mtd_info/mtd_info_user>size wrong type

Charles Manning manningc2 at actrix.gen.nz
Fri Apr 6 16:49:37 EDT 2007


Folks
As people are starting to use larger NAND partitions (4GB+), an inconsistency 
in the size field has become apparent.

This is a unint32_t which is clearly too small for modern NAND arrays.

The read/write funcions use loff_t which is correct.

It would seem that size needs to be increated to loff_t too.

-- Charles







More information about the linux-mtd mailing list