diff options
author | Baruch Siach <baruch@tkos.co.il> | 2010-08-09 07:20:23 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 23:26:13 +0100 |
commit | 12c8eb98de747ebc08404e3719c40abb405994e2 (patch) | |
tree | e48ab66a3f6578a05fe83a3d099a7d0f7b04a0d2 /include/mtd | |
parent | 899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff) |
mtd: fix callback return value check
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>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions