summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utxferror.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-10-31 03:27:48 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:31:28 +0100
commit00eb32550f59a15796e936418b46b5134bd23a55 (patch)
tree8edafb585ff83cefd89dd915529f0956390dd0cc /drivers/acpi/acpica/utxferror.c
parentACPICA: Add ACPI_MOVE_NAME macro to optimize 4-byte ACPI_NAME copies (diff)
downloadlinux-00eb32550f59a15796e936418b46b5134bd23a55.tar.xz
linux-00eb32550f59a15796e936418b46b5134bd23a55.zip
ACPICA: Enhance error reporting for invalid opcodes and bad ACPI_NAMEs
For disassembler, dump the 48 bytes surrounding the invalid opcode. Fix incorrect table offset reported for invalid opcodes. Report original 32-bit value for bad ACPI_NAMEs. 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>
Diffstat (limited to 'drivers/acpi/acpica/utxferror.c')
-rw-r--r--drivers/acpi/acpica/utxferror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utxferror.c b/drivers/acpi/acpica/utxferror.c
index 6d63cc39b9ae..d4d3826140d8 100644
--- a/drivers/acpi/acpica/utxferror.c
+++ b/drivers/acpi/acpica/utxferror.c
@@ -408,7 +408,7 @@ acpi_ut_namespace_error(const char *module_name,
ACPI_MOVE_32_TO_32(&bad_name,
ACPI_CAST_PTR(u32, internal_name));
- acpi_os_printf("[0x%4.4X] (NON-ASCII)", bad_name);
+ acpi_os_printf("[0x%.8X] (NON-ASCII)", bad_name);
} else {
/* Convert path to external format */