summaryrefslogtreecommitdiffstats
path: root/security/yama
diff options
context:
space:
mode:
authorMike Dunn <mikedunn@newsguy.com>2012-12-07 21:07:23 +0100
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-12-12 16:03:42 +0100
commit3c9c6d657a94f9b9aae498cb5951659cc67fd6ad (patch)
treef4969efdec7109ca179865f5839242a952141cf9 /security/yama
parentmtd: nand/docg4: reserve bb marker area in ecclayout (diff)
downloadlinux-3c9c6d657a94f9b9aae498cb5951659cc67fd6ad.tar.xz
linux-3c9c6d657a94f9b9aae498cb5951659cc67fd6ad.zip
mtd: nand/docg4: fix and improve read of factory bbt
This patch does two things related to reading the factory badblock table during initialization: (1) fix error where a non-zero return code from docg4_read_page() is assumed to be an error (it was later changed to be max_bitflips; thanks to Brian Norris for bringing this to my attention a while back), and (2) if there is an error reading the factory bbt, it tries reading another (redundant) factory bbt table. Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions