You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
Fix 2001
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
--- a/drivers/acpi/acpica/dswexec.c 2022-03-24 15:15:58.470866679 +0100
|
||||
+++ b/drivers/acpi/acpica/dswexec.c 2022-03-24 15:14:27.497035303 +0100
|
||||
@@ -391,7 +391,8 @@
|
||||
diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c
|
||||
index e8ad41387f84c1..5a58f464ad2349 100644
|
||||
--- a/drivers/acpi/acpica/dswexec.c
|
||||
+++ b/drivers/acpi/acpica/dswexec.c
|
||||
@@ -391,7 +391,8 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
|
||||
* All opcodes require operand resolution, with the only exceptions
|
||||
* being the object_type and size_of operators.
|
||||
*/
|
||||
- if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) {
|
||||
+ if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE) &&
|
||||
+ walk_state->num_operands > 0) {
|
||||
|
||||
|
||||
/* Resolve all operands */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user