summaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-09-07 22:13:29 +0200
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:48:49 +0200
commitafa17de262633603dd65f89e9370f48e56b8c557 (patch)
treed8509ed2d17d4cdd8b569e2c4e12efbab8e8b7e3 /ipc/mqueue.c
parentmtd: nand: refactor scanning code (diff)
downloadlinux-afa17de262633603dd65f89e9370f48e56b8c557.tar.xz
linux-afa17de262633603dd65f89e9370f48e56b8c557.zip
mtd: nand: do not ignore all ECC errors
There are a few reasons not to ignore ECC errors here. First, mtd->read_oob is being called in raw mode, so there should be no error correction in the first place. Second, if we change this such that there *is* error correction in this function, then we will want to pass the error message upward. In fact, the code I introduced to "ignore ECC errors" would have been better if it had just placed this test down in `scan_block_full()' in the first place. We would like to ignore ECC errors when we are simply checking for bad block markers (e.g., factory marked), but we may not want to ignore ECC errors when scanning OOB for a flash-based BBT pattern (in `scan_read_raw()'; note that the return codes from `scan_read_raw()' are not actually handled yet). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions