summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/amlcode.h
diff options
context:
space:
mode:
authorErik Schmauss <erik.schmauss@intel.com>2018-10-18 00:20:51 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-18 10:17:04 +0300
commitc64baa3a6fa207d112706bc5e7fd645cd8a8663f (patch)
tree3af11ad5e7c2a6fec7a8043ec8ed4bbe540ee3a9 /drivers/acpi/acpica/amlcode.h
parent4abb951b73ff0a8a979113ef185651aa3c8da19b (diff)
downloadlinux-c64baa3a6fa207d112706bc5e7fd645cd8a8663f.tar.xz
ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes
AML opcodes come in two lengths: 1-byte opcodes and 2-byte, extended opcodes. If an error occurs due to illegal opcodes during table load, the AML parser needs to continue loading the table. In order to do this, it needs to skip parsing of the offending opcode and operands associated with that opcode. This change fixes the AML parse loop to correctly skip parsing of incorrect extended opcodes. Previously, only the short opcodes were skipped correctly. Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/amlcode.h')
0 files changed, 0 insertions, 0 deletions