diff options
Diffstat (limited to 'drivers/acpi/acpica/psobject.c')
-rw-r--r-- | drivers/acpi/acpica/psobject.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/psobject.c b/drivers/acpi/acpica/psobject.c index 0bef6df71bba..c0b179883ff2 100644 --- a/drivers/acpi/acpica/psobject.c +++ b/drivers/acpi/acpica/psobject.c | |||
@@ -372,16 +372,10 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state, | |||
372 | * external declaration opcode. Setting walk_state->Aml to | 372 | * external declaration opcode. Setting walk_state->Aml to |
373 | * walk_state->parser_state.Aml + 2 moves increments the | 373 | * walk_state->parser_state.Aml + 2 moves increments the |
374 | * walk_state->Aml past the object type and the paramcount of the | 374 | * walk_state->Aml past the object type and the paramcount of the |
375 | * external opcode. For the error message, only print the AML | 375 | * external opcode. |
376 | * offset. We could attempt to print the name but this may cause | ||
377 | * a segmentation fault when printing the namepath because the | ||
378 | * AML may be incorrect. | ||
379 | */ | 376 | */ |
380 | acpi_os_printf | ||
381 | ("// Invalid external declaration at AML offset 0x%x.\n", | ||
382 | walk_state->aml - | ||
383 | walk_state->parser_state.aml_start); | ||
384 | walk_state->aml = walk_state->parser_state.aml + 2; | 377 | walk_state->aml = walk_state->parser_state.aml + 2; |
378 | walk_state->parser_state.aml = walk_state->aml; | ||
385 | return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE); | 379 | return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE); |
386 | } | 380 | } |
387 | #endif | 381 | #endif |