diff options
author | 2021-10-06 01:43:55 -0700 | |
---|---|---|
committer | 2021-12-08 12:53:36 +0100 | |
commit | 168e05c131cd15932f95364b103b8cb7dbf19546 (patch) | |
tree | b37fdc1feed3676b09531fa150e87b25f709d6cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: xilinx: add a to_zynqmp_pm_domain macro (diff) | |
download | linux-dev-168e05c131cd15932f95364b103b8cb7dbf19546.tar.xz linux-dev-168e05c131cd15932f95364b103b8cb7dbf19546.zip |
firmware: xilinx: check return value of zynqmp_pm_get_api_version()
Currently return value of zynqmp_pm_get_api_version() is ignored.
Because of that, API version is checked in case of error also.
So add check for return value of zynqmp_pm_get_api_version().
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/1633509835-31949-1-git-send-email-rajan.vaja@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions