mtd->size overflow

He Yong hoffer1127 at gmail.com
Wed Aug 29 02:21:08 EDT 2007


Hi,
  I'm using two 2G Bbyte nand flash chip (totally 4GB) under kernel 2.6.20.4,
the   chip->chipsize=0x80000000, and when decide the mtd->size = 2 *
0x80000000 = 0x00000000 (overflowed).
is there an official way to solve this problem?

Thanks!!

-- 
Best Regards!

He Yong

School of Information Security,
Shanghai Jiaotong University,
Dong chuan Road #800,
Minhang, Shanghai, P.R.China



More information about the linux-mtd mailing list