Skip to content

Commit

Permalink
ACPICA: Update for 64-bit generation of recent error message changes
Browse files Browse the repository at this point in the history
Fix for errors on printf changes on 64-bit platforms and gcc.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Nov 14, 2012
1 parent 47abd13 commit 17b1f45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/acpi/acpica/psloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
ACPI_ERROR((AE_INFO,
"Unknown opcode 0x%.2X at table offset 0x%.4X, ignoring",
walk_state->opcode,
walk_state->aml_offset +
sizeof(struct acpi_table_header)));
(u32)(walk_state->aml_offset +
sizeof(struct acpi_table_header))));

ACPI_DUMP_BUFFER(walk_state->parser_state.aml - 16, 48);

Expand All @@ -152,8 +152,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
acpi_os_printf
("/*\nError: Unknown opcode 0x%.2X at table offset 0x%.4X, context:\n",
walk_state->opcode,
walk_state->aml_offset +
sizeof(struct acpi_table_header));
(u32)(walk_state->aml_offset +
sizeof(struct acpi_table_header)));

/* Dump the context surrounding the invalid opcode */

Expand Down

0 comments on commit 17b1f45

Please sign in to comment.