linux/drivers/mtd/ubi
Brian Norris 44305ebde2 UBI: fastmap: do not miss bit-flips
The return value from 'ubi_io_read_ec_hdr()' was stored in 'err', not in 'ret'.
This fix makes sure Fastmap-enabled UBI does not miss bit-flip while reading EC
headers, events and scrubs the affected PEBs.

This issue was reported by Coverity Scan.

Artem: improved the commit message.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2014-07-16 08:32:00 +03:00
..
Kconfig UBI: block: Add CONFIG_BLOCK dependency 2014-03-04 14:49:53 +02:00
Makefile
attach.c
block.c This pull request contains several UBIFS fixes. One of them fixes a race 2014-06-10 08:55:46 -07:00
build.c
cdev.c UBI: weaken the 'exclusive' constraint when opening volumes to rename 2014-05-13 13:45:16 +03:00
debug.c
debug.h
eba.c
fastmap.c UBI: fastmap: do not miss bit-flips 2014-07-16 08:32:00 +03:00
gluebi.c
io.c
kapi.c
misc.c
ubi-media.h
ubi.h MTD updates for 3.15: 2014-04-07 10:17:30 -07:00
upd.c
vmt.c
vtbl.c
wl.c UBI: fix ubi free PEBs count calculation 2014-05-05 09:31:33 +03:00