Message ID | 3574827.zOC4apc8e1@aspire.rjw.lan (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-pm/drivers/acpi/acpica/psloop.c =================================================================== --- linux-pm.orig/drivers/acpi/acpica/psloop.c +++ linux-pm/drivers/acpi/acpica/psloop.c @@ -493,6 +493,9 @@ acpi_status acpi_ps_parse_loop(struct ac ASL_CV_CAPTURE_COMMENTS(walk_state); aml_op_start = parser_state->aml; + if (!aml_op_start) + break; + if (!op) { status = acpi_ps_create_op(walk_state, aml_op_start, &op);