aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMike Dunn <[email protected]>2012-09-11 08:50:50 -0700
committerDavid Woodhouse <[email protected]>2012-09-29 15:54:11 +0100
commit5bf3d66a933efb71fa6db08a5043a617b6eadb4a (patch)
tree3aa65355aedf87e6e3ef71926351adaaf7d500c5 /lib/string_helpers.c
parent61de9da657e8c52606d45ae67dfa187111bf9b55 (diff)
mtd: docg4: ecc.read_page() returns 0 on uncorrectable errors
Currently the docg4's ecc.read_page() method returns -EBADMSG when uncorrectable bitflips occur. This is wrong; 0 should be returned in this case. An error code should only be returned by this method in the case of a hardware error (probably -EIO). Signed-off-by: Mike Dunn <[email protected]> Acked-by: Brian Norris <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions