diff options
author | 2021-06-17 10:22:03 +0800 | |
---|---|---|
committer | 2021-07-19 10:53:52 +0200 | |
commit | 97c29755598f98c6c91f68f12bdd3f517e457890 (patch) | |
tree | dbe5299e05d70a1ae84ebeebac5018248d659cc0 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | clk: renesas: rzg2l: Remove unneeded semicolon (diff) | |
download | linux-dev-97c29755598f98c6c91f68f12bdd3f517e457890.tar.xz linux-dev-97c29755598f98c6c91f68f12bdd3f517e457890.zip |
clk: renesas: rzg2l: Fix return value and unused assignment
Currently the function returns NULL on error, so exact error code is
lost. This patch changes return convention of the function to use
ERR_PTR() on error instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1623896524-102058-1-git-send-email-yang.lee@linux.alibaba.com
[geert: Drop curly braces]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions