aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-04-09 09:49:01 +0000
committerMathieu Poirier <[email protected]>2021-04-13 09:46:27 -0600
commit68d400c079978f649e7f63aba966d219743edd64 (patch)
tree8f872e730188bf737867c7571f1cfd8f8faebd79 /tools/perf/scripts/python/export-to-postgresql.py
parentd19dea75b9920cfd78df397e836d5b885b4fcc37 (diff)
coresight: trbe: Fix return value check in arm_trbe_register_coresight_cpu()
In case of error, the function devm_kasprintf() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions