[MTD] [NAND] treat any negative return value from correct() as an error
authorMatt Reimer <mreimer@vpop.net>
Wed, 17 Oct 2007 21:33:23 +0000 (14:33 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 Oct 2007 21:27:22 +0000 (22:27 +0100)
Treat any negative return value from a NAND driver's correct() function
as a failure, rather than just -1.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

No differences found