summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-06-01 16:03:15 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-07 17:37:22 +0300
commitb1bd5714472cc72e14409f5659b154c765a76c65 (patch)
tree8bcdd2fe9b13886477737b13926e13218e80cc4a /tools/perf/scripts/python/export-to-postgresql.py
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-b1bd5714472cc72e14409f5659b154c765a76c65.tar.xz
PCI: aardvark: Indicate error in 'val' when config read fails
Most callers of config read do not check for return value. But most of the ones that do, checks for error indication in 'val' variable. This patch updates error handling in advk_pcie_rd_conf() function. If PIO transfer fails then 'val' variable is set to 0xffffffff which indicates failture. Link: https://lore.kernel.org/r/20200528162604.GA323482@bjorn-Precision-5520 Link: https://lore.kernel.org/r/20200601130315.18895-1-pali@kernel.org Reported-by: Bjorn Helgaas <helgaas@kernel.org> Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions