]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPICA: AML Parser: skip opcodes that open a scope upon parse failure
authorErik Schmauss <erik.schmauss@intel.com>
Fri, 10 Aug 2018 21:42:58 +0000 (14:42 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Aug 2018 21:49:13 +0000 (23:49 +0200)
commit4a7c94c721074eafb27298d93dbcc339aa28e745
tree5b1e54bcdaa318acf5464370b06f391eff9d72b0
parent089b2bec97bbddb519e849a58b1ba8cc9880a4e5
ACPICA: AML Parser: skip opcodes that open a scope upon parse failure

This change skips the entire length of opcodes that open a scope
(Device, Scope, Processor, etc) if the creation of the op fails. The
failure could be caused by various errors including AE_ALREADY_EXISTS
and AE_NOT_FOUND.

Reported-by: Jeremy Linton <jeremy.linton@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Cc: 4.17+ <stable@vger.kernel.org> # 4.17+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/psloop.c