Skip to content

Commit 8121aa2

Browse files
zetalografaeljw
authored andcommitted
ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method()
There is a lock unbalanced exit path in acpi_ds_initialize_method(), this patch corrects it. Fixes: 441ad11 (ACPICA: Dispatcher: Fix a mutex issue for method auto serialization) Tested-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 25ccd24 commit 8121aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/acpica/dsmethod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ acpi_ds_auto_serialize_method(struct acpi_namespace_node *node,
128128
if (ACPI_FAILURE(status)) {
129129
acpi_ds_delete_walk_state(walk_state);
130130
acpi_ps_free_op(op);
131-
return_ACPI_STATUS(status);
131+
goto unlock;
132132
}
133133

134134
walk_state->descending_callback = acpi_ds_detect_named_opcodes;

0 commit comments

Comments
 (0)