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/rslist.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/rslist.c')
-rw-r--r-- | drivers/acpi/acpica/rslist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/rslist.c b/drivers/acpi/acpica/rslist.c index fd057c72d252..7335f22aac20 100644 --- a/drivers/acpi/acpica/rslist.c +++ b/drivers/acpi/acpica/rslist.c | |||
@@ -94,7 +94,7 @@ acpi_rs_convert_aml_to_resources(u8 * aml, | |||
94 | [resource_index]); | 94 | [resource_index]); |
95 | if (ACPI_FAILURE(status)) { | 95 | if (ACPI_FAILURE(status)) { |
96 | ACPI_EXCEPTION((AE_INFO, status, | 96 | ACPI_EXCEPTION((AE_INFO, status, |
97 | "Could not convert AML resource (Type %X)", | 97 | "Could not convert AML resource (Type 0x%X)", |
98 | *aml)); | 98 | *aml)); |
99 | return_ACPI_STATUS(status); | 99 | return_ACPI_STATUS(status); |
100 | } | 100 | } |
@@ -147,7 +147,7 @@ acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, | |||
147 | 147 | ||
148 | if (resource->type > ACPI_RESOURCE_TYPE_MAX) { | 148 | if (resource->type > ACPI_RESOURCE_TYPE_MAX) { |
149 | ACPI_ERROR((AE_INFO, | 149 | ACPI_ERROR((AE_INFO, |
150 | "Invalid descriptor type (%X) in resource list", | 150 | "Invalid descriptor type (0x%X) in resource list", |
151 | resource->type)); | 151 | resource->type)); |
152 | return_ACPI_STATUS(AE_BAD_DATA); | 152 | return_ACPI_STATUS(AE_BAD_DATA); |
153 | } | 153 | } |
@@ -161,7 +161,7 @@ acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, | |||
161 | [resource->type]); | 161 | [resource->type]); |
162 | if (ACPI_FAILURE(status)) { | 162 | if (ACPI_FAILURE(status)) { |
163 | ACPI_EXCEPTION((AE_INFO, status, | 163 | ACPI_EXCEPTION((AE_INFO, status, |
164 | "Could not convert resource (type %X) to AML", | 164 | "Could not convert resource (type 0x%X) to AML", |
165 | resource->type)); | 165 | resource->type)); |
166 | return_ACPI_STATUS(status); | 166 | return_ACPI_STATUS(status); |
167 | } | 167 | } |