There is a lock unbalanced exit path in acpi_ds_initialize_method(), this patch corrects it.
Unified · Split
| @@ -128,7 +128,7 @@ acpi_ds_auto_serialize_method(struct acpi_namespace_node *node, · 127 unmodified lines | |||
| 128 | if (ACPI_FAILURE(status)) { | 128 | if (ACPI_FAILURE(status)) { |
| 129 | acpi_ds_delete_walk_state(walk_state); | 129 | acpi_ds_delete_walk_state(walk_state); |
| 130 | acpi_ps_free_op(op); | 130 | acpi_ps_free_op(op); |
| 131 | return_ACPI_STATUS(status); | 131 | goto unlock; |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | walk_state->descending_callback = acpi_ds_detect_named_opcodes; | 134 | walk_state->descending_callback = acpi_ds_detect_named_opcodes; |