diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-01-04 02:06:27 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-01-05 03:33:23 +0300 |
commit | 87cdece169db3b839316bd8a39e438c8730d657c (patch) | |
tree | e6256384a7c5e498a18a8fcb6ef19a4478b25856 /drivers/acpi/acpica | |
parent | ee174d3594c2fe997f45cd0969a33e0413913706 (diff) | |
download | linux-87cdece169db3b839316bd8a39e438c8730d657c.tar.xz |
ACPICA: DT compiler: prevent error if optional field at the end of table is not present
ACPICA commit a7f73af9003bf4e730db5a133300c01ba7992a01
The data table compiler throws under the following conditions:
1.) there is a table with a last field that is optional
2.) if the optional field is not present
3.) the optional field is the last line of the data table
A change was made to dt_compile_table to return an AE_EOF under
these conditions. This AE_EOF means that we are at the end of the
file. The caller to dt_compile_table() is responsible for handling
this case. For DBG2 table, we will complete the compilation of this
subtable. For other tables, this could be different.
Link: https://github.com/acpica/acpica/commit/a7f73af9
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
0 files changed, 0 insertions, 0 deletions