summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2019-10-25 10:36:16 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-11-01 10:20:44 +0200
commit4b3745361cc558e046c7c80826740af2fff30954 (patch)
tree3e2050f26c6a6361c93a92a9d16cabd9706cdf8c /tools/perf/scripts/python/export-to-postgresql.py
parent70d2c6dcf8cc655dabab7700f91b194e8cb8a87c (diff)
mtd: spi-nor: Fix retlen handling in sst_write()
In case the write of the first byte failed, retlen was incorrectly incremented to *retlen += actual; on the exit path. retlen should be incremented when actual data was written to the flash. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions