diff options
author | 2019-01-29 18:48:54 +0000 | |
---|---|---|
committer | 2019-02-07 23:10:45 +0100 | |
commit | f2a681b9160b9c80826b3062e71371cfc82b4863 (patch) | |
tree | 11986398f2f42320e28409e2dc63bf665f2241ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / APEI: Pass ghes and estatus separately to avoid a later copy (diff) | |
download | wireguard-linux-f2a681b9160b9c80826b3062e71371cfc82b4863.tar.xz wireguard-linux-f2a681b9160b9c80826b3062e71371cfc82b4863.zip |
ACPI / APEI: Make GHES estatus header validation more user friendly
ghes_read_estatus() checks various lengths in the top-level header to
ensure the CPER records to be read aren't obviously corrupt.
Take the opportunity to make this more user-friendly, printing a
(ratelimited) message about the nature of the header format error.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: James Morse <james.morse@arm.com>
[ rjw: Add missing 'static' ]
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