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/nsutils.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/nsutils.c')
-rw-r--r-- | drivers/acpi/acpica/nsutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c index 24d05a87a2a3..bab559712da1 100644 --- a/drivers/acpi/acpica/nsutils.c +++ b/drivers/acpi/acpica/nsutils.c | |||
@@ -276,7 +276,7 @@ u32 acpi_ns_local(acpi_object_type type) | |||
276 | 276 | ||
277 | /* Type code out of range */ | 277 | /* Type code out of range */ |
278 | 278 | ||
279 | ACPI_WARNING((AE_INFO, "Invalid Object Type %X", type)); | 279 | ACPI_WARNING((AE_INFO, "Invalid Object Type 0x%X", type)); |
280 | return_UINT32(ACPI_NS_NORMAL); | 280 | return_UINT32(ACPI_NS_NORMAL); |
281 | } | 281 | } |
282 | 282 | ||
@@ -764,7 +764,7 @@ u32 acpi_ns_opens_scope(acpi_object_type type) | |||
764 | 764 | ||
765 | /* type code out of range */ | 765 | /* type code out of range */ |
766 | 766 | ||
767 | ACPI_WARNING((AE_INFO, "Invalid Object Type %X", type)); | 767 | ACPI_WARNING((AE_INFO, "Invalid Object Type 0x%X", type)); |
768 | return_UINT32(ACPI_NS_NORMAL); | 768 | return_UINT32(ACPI_NS_NORMAL); |
769 | } | 769 | } |
770 | 770 | ||