diff options
author | 2021-06-17 17:15:10 +0300 | |
---|---|---|
committer | 2021-07-19 10:53:52 +0200 | |
commit | e37868f14416bc5f22235dce073c496381d349c3 (patch) | |
tree | 657432f1065473caa72776692ce52c8a66d6a305 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | clk: renesas: rzg2l: Fix a double free on error (diff) | |
download | linux-dev-e37868f14416bc5f22235dce073c496381d349c3.tar.xz linux-dev-e37868f14416bc5f22235dce073c496381d349c3.zip |
clk: renesas: rzg2l: Avoid mixing error pointers and NULL
These functions accidentally return both error pointers and NULL when
there is an error. It doesn't cause a problem but it is confusing and
seems unintentional.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/YMtY7nOtqEvTokh7@mwanda
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