mtd: OneNAND: Fix test of unsigned in onenand_otp_walk()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 16 Dec 2009 00:37:17 +0000 (01:37 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 16 Dec 2009 03:26:33 +0000 (03:26 +0000)
commit0a032a4df6dc4a82bcd1c401e57ee71825d30c14
tree84e55c3a9de0402bfb0064ebea588ff940ac5b80
parentcaf0e8e028516253afce6e40c52f0c193a221f8a
mtd: OneNAND: Fix test of unsigned in onenand_otp_walk()

mtd->writesize and len are unsigned so the test does not work.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/onenand_base.c