Files
u-boot/drivers/mtd
htbegin 453db36863 mtd: nand: use ssize_t instead of size_t to prevent infinite loop
When a all 0xFF buffer is passed to drop_ffs, the no-0xFF check loop
will loop forever.
After the fix, If ssize_t i = -1 and size_t l = i + 1, the value of l
will still be 0 as expected.

Signed-off-by: Tao Hou <hotforest@gmail.com>
Cc: Ben Gardiner <bengardiner@nanometrics.ca>
Cc: Scott Wood <scottwood@freescale.com>
2013-05-22 16:50:59 -05:00
..
2013-04-11 15:52:54 -04:00
2011-05-12 23:43:27 +02:00
2013-04-11 15:52:54 -04:00
2008-09-09 11:48:53 +02:00