mtd: fix callback return value check
authorBaruch Siach <baruch@tkos.co.il>
Mon, 9 Aug 2010 04:20:23 +0000 (07:20 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:26:13 +0000 (23:26 +0100)
Drivers may (and do) return negative errno values other than -1 from the
ecc.correct callback.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found