aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorXiaolei Li <[email protected]>2019-05-07 18:25:41 +0800
committerMiquel Raynal <[email protected]>2019-06-27 20:05:25 +0200
commit336d4b138be2dad372b67a2388e42805c48aaa38 (patch)
tree0a9428954a7e8ac118531146f6b560022ed4341d /tools/perf/util/scripting-engines/trace-event-python.c
parent8dbd7b103fc3eac53ab8a20b3cd1a5cb26c0dcbb (diff)
mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
One main goal of the function mtk_nfc_update_ecc_stats is to check whether sectors are all empty. If they are empty, set these sectors's data buffer and OOB buffer as 0xff. But now, the sector OOB buffer pointer is wrongly assigned. We always do memset from sector 0. To fix this issue, pass start sector number to make OOB buffer pointer be properly assigned. Fixes: 1d6b1e464950 ("mtd: mediatek: driver for MTK Smart Device") Signed-off-by: Xiaolei Li <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions