diff options
author | Bob Moore <robert.moore@intel.com> | 2010-03-05 04:56:40 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:42:52 -0400 |
commit | f6a22b0bc417042e83117f52ab1a03696af185ab (patch) | |
tree | 0d03a22c27c592338629f2af67e7b2b9a8521b01 /drivers/acpi/acpica/psloop.c | |
parent | 0e264f0bc22207b99f33ee06e614186480682f15 (diff) |
ACPICA: Standardize integer output for ACPICA warnings/errors
Always use 0x prefix for hex output, use %u for integer output
(all integers are unsigned.)
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psloop.c')
-rw-r--r-- | drivers/acpi/acpica/psloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c index 59aabaeab1d3..2f2e7760938c 100644 --- a/drivers/acpi/acpica/psloop.c +++ b/drivers/acpi/acpica/psloop.c | |||
@@ -136,7 +136,7 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state) | |||
136 | /* The opcode is unrecognized. Just skip unknown opcodes */ | 136 | /* The opcode is unrecognized. Just skip unknown opcodes */ |
137 | 137 | ||
138 | ACPI_ERROR((AE_INFO, | 138 | ACPI_ERROR((AE_INFO, |
139 | "Found unknown opcode %X at AML address %p offset %X, ignoring", | 139 | "Found unknown opcode 0x%X at AML address %p offset 0x%X, ignoring", |
140 | walk_state->opcode, walk_state->parser_state.aml, | 140 | walk_state->opcode, walk_state->parser_state.aml, |
141 | walk_state->aml_offset)); | 141 | walk_state->aml_offset)); |
142 | 142 | ||
@@ -1021,7 +1021,6 @@ acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state) | |||
1021 | if (status == AE_AML_NO_RETURN_VALUE) { | 1021 | if (status == AE_AML_NO_RETURN_VALUE) { |
1022 | ACPI_EXCEPTION((AE_INFO, status, | 1022 | ACPI_EXCEPTION((AE_INFO, status, |
1023 | "Invoked method did not return a value")); | 1023 | "Invoked method did not return a value")); |
1024 | |||
1025 | } | 1024 | } |
1026 | 1025 | ||
1027 | ACPI_EXCEPTION((AE_INFO, status, | 1026 | ACPI_EXCEPTION((AE_INFO, status, |