summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@gmail.com>2016-05-06 03:31:54 +0300
committerBrian Norris <computersforpeace@gmail.com>2016-06-02 03:22:57 +0300
commite5d05cbd6d8b01f08c95c427a36c66aac769af4f (patch)
tree1f7a9f10bbbf61fc2c6d64adddc0a12072e31bae /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2dd087b16946cf168f401526adf26afa771bb740 (diff)
downloadlinux-e5d05cbd6d8b01f08c95c427a36c66aac769af4f.tar.xz
mtd: spi-nor: simplify write loop
The spi-nor write loop assumes that what is passed to the hardware driver write() is what gets written. When write() writes less than page size at once data is dropped on the floor. Check the amount of data writen and exit if it does not match requested amount. Signed-off-by: Michal Suchanek <hramrach@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Tested-by Cyrille Pitchen <cyrille.pitchen@atmel.com> Acked-by: Michal Suchanek <hramrach@gmail.com> Tested-by: Michal Suchanek <hramrach@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions