diff options
author | Dan Carpenter <[email protected]> | 2019-06-20 16:12:37 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-03 21:15:33 +0200 |
commit | 0530ef6b41e80c5cc979e0e50682302161edb6b7 (patch) | |
tree | 9d8801962fccbaf1844db9a86cb0f70d0d3efee2 /tools/perf/util/trace-event-scripting.c | |
parent | 730766bae3280a25d40ea76a53dc6342e84e6513 (diff) |
coresight: Potential uninitialized variable in probe()
The "drvdata->atclk" clock is optional, but if it gets set to an error
pointer then we're accidentally return an uninitialized variable instead
of success.
Fixes: 78e6427b4e7b ("coresight: funnel: Support static funnel")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions