aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2016-04-22 12:06:38 +0200
committerRichard Weinberger <[email protected]>2016-05-24 15:24:33 +0200
commit73b0cd57fcd07201b138214f9a2353f76dd9ae2c (patch)
tree3daf450d9453a750700cedf5e58c05cb4edcb178 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent24663e7281b8fbfaae22467ec2625e2bffe07815 (diff)
UBI: Set free_count to zero before walking through erase list
Set free_count to zero before walking through ai->erase list in wl_init(). Found in U-Boot as U-Boot has no workqueue/threads, it immediately calls erase_worker(), which increase for each erased block free_count. Without this patch, free_count gets after this initialized to zero in wl_init(), so the free_count variable always has the maybe wrong value 0 in U-Boot. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions