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/exnames.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/exnames.c')
-rw-r--r-- | drivers/acpi/acpica/exnames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exnames.c b/drivers/acpi/acpica/exnames.c index 679f308c5a89..d11e539ef763 100644 --- a/drivers/acpi/acpica/exnames.c +++ b/drivers/acpi/acpica/exnames.c | |||
@@ -102,7 +102,7 @@ static char *acpi_ex_allocate_name_string(u32 prefix_count, u32 num_name_segs) | |||
102 | name_string = ACPI_ALLOCATE(size_needed); | 102 | name_string = ACPI_ALLOCATE(size_needed); |
103 | if (!name_string) { | 103 | if (!name_string) { |
104 | ACPI_ERROR((AE_INFO, | 104 | ACPI_ERROR((AE_INFO, |
105 | "Could not allocate size %d", size_needed)); | 105 | "Could not allocate size %u", size_needed)); |
106 | return_PTR(NULL); | 106 | return_PTR(NULL); |
107 | } | 107 | } |
108 | 108 | ||
@@ -216,7 +216,7 @@ static acpi_status acpi_ex_name_segment(u8 ** in_aml_address, char *name_string) | |||
216 | */ | 216 | */ |
217 | status = AE_AML_BAD_NAME; | 217 | status = AE_AML_BAD_NAME; |
218 | ACPI_ERROR((AE_INFO, | 218 | ACPI_ERROR((AE_INFO, |
219 | "Bad character %02x in name, at %p", | 219 | "Bad character 0x%02x in name, at %p", |
220 | *aml_address, aml_address)); | 220 | *aml_address, aml_address)); |
221 | } | 221 | } |
222 | 222 | ||