summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-01 20:39:27 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-02 21:02:00 +0300
commitd221b7a8781ce594249cb44644ec9fecd893957d (patch)
treed87eec0913d2bf074871ee945fb83f536b69c01e /tools/perf/scripts/python/call-graph-from-postgresql.py
parent14b5a4bf7acd3c803c9bde857ae054ba19c4a04c (diff)
downloadlinux-d221b7a8781ce594249cb44644ec9fecd893957d.tar.xz
clk: sunxi: improve error reporting for the mux clock
clk_register_mux returns a pointer wrapped error value in case of failure, so a simple NULL check is not sufficient to catch errors. Fix that and elaborate on the failure reason on the way. The whole function does not return any error value, so silently failing may leave users scratching their heads because the kernel does not provide any clues on what's wrong. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions