summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_bbt.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-20 12:51:21 +0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-21 12:20:37 +0400
commitdf3fca4cdddfa6e1f51b65214d4342660649bd1f (patch)
tree13389da659d8d2235f8a56f7e263f11bced19fc6 /drivers/mtd/nand/nand_bbt.c
parentfb22b59b2c38054cc847f6acc5c46daa26dc6dd3 (diff)
downloadlinux-df3fca4cdddfa6e1f51b65214d4342660649bd1f.tar.xz
UBI: fix check_data_ff return code
When the data does not contain all 0xFF bytes, 'check_data_ff()' should return 1, not -EINVAL; Also, the caller ('process_eb()') should not add the PEB to the "corrupted" list if there was a read error. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/nand_bbt.c')
0 files changed, 0 insertions, 0 deletions