aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2017-02-03 12:43:11 -0800
committerStephen Boyd <[email protected]>2017-02-06 14:48:32 -0800
commit5d806f9fc8e63d7a44e0fd1ef26a7c27efae0e51 (patch)
tree9b4313c80e5a6f8f2ba0822ba2d46c0c162706aa /tools/perf/scripts/python/call-graph-from-postgresql.py
parentca6f2796eef7fcff66a3b3f4bf45a7493ead0620 (diff)
clk: sunxi-ng: Check kzalloc() for errors and cleanup error path
This kzalloc() could fail. Let's bail out with -ENOMEM here instead of NULL dereferencing. That silences static checkers. We should also cleanup on the error path even though this function returning an error probably means the system won't boot. Cc: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions