WSL2-Linux-Kernel/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
Makefile
attach.c
block.c
build.c
cdev.c
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
upd.c
vmt.c
vtbl.c
wl.c