diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-08-10 14:42:55 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-08-14 23:49:13 +0200 |
commit | f016b19a9275089a2ab06c2144567c2ad8d5d6ad (patch) | |
tree | b5db8e00588a5dc85c0d05c48f25583227884ab3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d46b6537f0ceed303047da918ed951f074a99288 (diff) |
ACPICA: ACPICA: add status check for acpi_hw_read before assigning return value
The value coming from acpi_hw_read() should not be used if it
returns an error code, so check the status returned by it before
using that value in two places in acpi_hw_register_read().
Reported-by: Mark Gross <mark.gross@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions