Skip to content
Commit c32b8dcc authored by Matt Reimer's avatar Matt Reimer Committed by David Woodhouse
Browse files

[MTD] [NAND] treat any negative return value from correct() as an error



Treat any negative return value from a NAND driver's correct() function
as a failure, rather than just -1.

Signed-off-by: default avatarMatt Reimer <mreimer@vpop.net>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 39e73fc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment