summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2018-12-20 13:51:24 -0600
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-01-20 22:38:35 +0100
commit6f12e46eebf1a7d4fdd66df5e815df96b8f8b1b5 (patch)
tree3ab79ed9bac528edf0c60f0f97fd6bf6d74e9611 /tools/perf/scripts/python/export-to-sqlite.py
parent3dcdb68925b82a9fe89b28bd66a8c12d8c3804a0 (diff)
power: twl4030: fix a missing check of return value
If twl4030_bci_read() fails, the read data in "s" is incorrect, which is however used in the following execution. The fix checks the return value of twl4030_bci_read() and returns an error code upstream upon the failure of twl4030_bci_read(). Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions