diff options
author | 2018-01-09 10:47:02 +0100 | |
---|---|---|
committer | 2018-01-09 10:56:29 +0100 | |
commit | 6cbefbdcec41bf725b308288dcb200a6efc3339f (patch) | |
tree | 7440eab03302122ba2162db40e0be3405a8f2c13 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: nand: brcmnand: Disable prefetch by default (diff) | |
download | linux-dev-6cbefbdcec41bf725b308288dcb200a6efc3339f.tar.xz linux-dev-6cbefbdcec41bf725b308288dcb200a6efc3339f.zip |
mtd: tests: nandbiterrs: Fix read_page return value
The number of corrected bitflips is not correctly reported by
the test until the bitflip threshold is reached.
read_page() shall return the number of corrected bitflips, but
mtd_read() returns 0 or a negative error, so we can't forward
its return value. In the absence of an error we always have
calculate the number of bitflips ourselves.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions