summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-06-17 10:22:03 +0800
committerGeert Uytterhoeven <geert+renesas@glider.be>2021-07-19 10:53:52 +0200
commit97c29755598f98c6c91f68f12bdd3f517e457890 (patch)
treedbe5299e05d70a1ae84ebeebac5018248d659cc0 /tools/perf/scripts/python/sctop.py
parentd42d57fe86e98c2ab438e30c247d90504a146646 (diff)
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/sctop.py')
0 files changed, 0 insertions, 0 deletions