summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-09-21 03:35:08 +0200
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-21 08:19:07 +0200
commit167a8d52509a0f7d6728a79e2588b800e866c147 (patch)
tree7ae622e68cbed19680cd3954259f1616d3d868bd /fs/debugfs
parentmtd: utilize `mtd_is_*()' functions (diff)
downloadlinux-167a8d52509a0f7d6728a79e2588b800e866c147.tar.xz
linux-167a8d52509a0f7d6728a79e2588b800e866c147.zip
mtd: nand: report ECC errors properly when reading BBT
Instead of just printing a warning when encountering ECC errors, we should return a proper error status and print a more informative warning. Later, we will handle these error messages in the upper layers of the BBT scan. Note that this patch makes our check for ECC error codes a little bit more restrictive, leaving all unrecognized errors to the generic "else" clause. This shouldn't cause problems and could even be a benefit. This code is based on some findings reported by Matthieu Castet. Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions