aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-11-07 08:08:44 +0000
committerPawel Moll <[email protected]>2014-04-24 11:39:06 +0100
commit6b4ed8b00e93bd31f24a25f59ed8d1b808d0cc00 (patch)
tree2570de1eabab44273210e6d3e3bff4749f5840dd /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parenta798c10faf62a505d24e5f6213fbaf904a39623f (diff)
clk: vexpress: NULL dereference on error path
If the allocation fails then we dereference the NULL in the error path. Just return directly. Fixes: ed27ff1db869 ('clk: Versatile Express clock generators ("osc") driver') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Pawel Moll <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions