提交 17b1f45a 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

ACPICA: Update for 64-bit generation of recent error message changes

Fix for errors on printf changes on 64-bit platforms and gcc.
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 47abd13c
...@@ -139,8 +139,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state) ...@@ -139,8 +139,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
ACPI_ERROR((AE_INFO, ACPI_ERROR((AE_INFO,
"Unknown opcode 0x%.2X at table offset 0x%.4X, ignoring", "Unknown opcode 0x%.2X at table offset 0x%.4X, ignoring",
walk_state->opcode, walk_state->opcode,
walk_state->aml_offset + (u32)(walk_state->aml_offset +
sizeof(struct acpi_table_header))); sizeof(struct acpi_table_header))));
ACPI_DUMP_BUFFER(walk_state->parser_state.aml - 16, 48); ACPI_DUMP_BUFFER(walk_state->parser_state.aml - 16, 48);
...@@ -152,8 +152,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state) ...@@ -152,8 +152,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
acpi_os_printf acpi_os_printf
("/*\nError: Unknown opcode 0x%.2X at table offset 0x%.4X, context:\n", ("/*\nError: Unknown opcode 0x%.2X at table offset 0x%.4X, context:\n",
walk_state->opcode, walk_state->opcode,
walk_state->aml_offset + (u32)(walk_state->aml_offset +
sizeof(struct acpi_table_header)); sizeof(struct acpi_table_header)));
/* Dump the context surrounding the invalid opcode */ /* Dump the context surrounding the invalid opcode */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册