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/rsmisc.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/rsmisc.c')
-rw-r--r-- | drivers/acpi/acpica/rsmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/rsmisc.c b/drivers/acpi/acpica/rsmisc.c index 07de352fa443..f8cd9e87d987 100644 --- a/drivers/acpi/acpica/rsmisc.c +++ b/drivers/acpi/acpica/rsmisc.c | |||
@@ -88,7 +88,7 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, | |||
88 | /* Each internal resource struct is expected to be 32-bit aligned */ | 88 | /* Each internal resource struct is expected to be 32-bit aligned */ |
89 | 89 | ||
90 | ACPI_WARNING((AE_INFO, | 90 | ACPI_WARNING((AE_INFO, |
91 | "Misaligned resource pointer (get): %p Type %2.2X Len %X", | 91 | "Misaligned resource pointer (get): %p Type 0x%2.2X Length %u", |
92 | resource, resource->type, resource->length)); | 92 | resource, resource->type, resource->length)); |
93 | } | 93 | } |
94 | 94 | ||
@@ -541,7 +541,7 @@ if (((aml->irq.flags & 0x09) == 0x00) || ((aml->irq.flags & 0x09) == 0x09)) { | |||
541 | * "IRQ Format"), so 0x00 and 0x09 are illegal. | 541 | * "IRQ Format"), so 0x00 and 0x09 are illegal. |
542 | */ | 542 | */ |
543 | ACPI_ERROR((AE_INFO, | 543 | ACPI_ERROR((AE_INFO, |
544 | "Invalid interrupt polarity/trigger in resource list, %X", | 544 | "Invalid interrupt polarity/trigger in resource list, 0x%X", |
545 | aml->irq.flags)); | 545 | aml->irq.flags)); |
546 | return_ACPI_STATUS(AE_BAD_DATA); | 546 | return_ACPI_STATUS(AE_BAD_DATA); |
547 | } | 547 | } |