aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-09-10 13:08:05 +0300
committerMika Westerberg <[email protected]>2020-09-10 19:39:56 +0300
commit77e4907fa620af102f4571d4edb0dcc95b4fa083 (patch)
tree7eaf8cd3dae8dcc3b18cab08e521d5c64440d8dc /tools/perf/util/scripting-engines/trace-event-python.c
parent54e418106c765c5f3c378c770b0f8518632830da (diff)
thunderbolt: debugfs: Fix uninitialized return in counters_write()
If the first line is in an invalid format then the "ret" value is uninitialized. We should return -EINVAL instead. Fixes: 54e418106c76 ("thunderbolt: Add debugfs interface") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions