summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-03-08 02:41:29 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-04-16 02:57:09 +0300
commitcb0ceaf77d93964a0d00477c79f4499123f6159c (patch)
tree23f7da8eeb928896756cf78612a84363a1fb0918 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd31d56ec17431d3883d5f4b60d407fa5e75add06 (diff)
downloadlinux-cb0ceaf77d93964a0d00477c79f4499123f6159c.tar.xz
clk: at91: fix check of clk_register() returned value
The clk_register() function returns a valid pointer to struct clk or ERR_PTR() error code, this makes a check for returned NULL value useless and may lead to oops on error path. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock") Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions