diff options
author | Christian Engelmayer <[email protected]> | 2014-05-18 16:00:40 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-05-18 22:39:56 -0700 |
commit | 19318de1daf25aa1ca4fe76e1d7ac834f1bfb0c4 (patch) | |
tree | fdcbf238217bebb6ba55efd5448c0b0012f03c4c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 90550e6fb19f42cd6184e56006206ca8296d596b (diff) |
Input: ims-pcu - fix uninitialized use of 'error' in ims_pcu_buffers_alloc()
In case allocation via usb_alloc_coherent() fails in ims_pcu_buffers_alloc(),
the function jumps to the exit path without initializing local variable
'error' that is used as return value. Detected by Coverity - CID 1016531.
Signed-off-by: Christian Engelmayer <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions