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/utmisc.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/utmisc.c')
-rw-r--r-- | drivers/acpi/acpica/utmisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/utmisc.c b/drivers/acpi/acpica/utmisc.c index 32982e2ac384..e8d0724ee403 100644 --- a/drivers/acpi/acpica/utmisc.c +++ b/drivers/acpi/acpica/utmisc.c | |||
@@ -205,7 +205,7 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id) | |||
205 | /* Guard against multiple allocations of ID to the same location */ | 205 | /* Guard against multiple allocations of ID to the same location */ |
206 | 206 | ||
207 | if (*owner_id) { | 207 | if (*owner_id) { |
208 | ACPI_ERROR((AE_INFO, "Owner ID [%2.2X] already exists", | 208 | ACPI_ERROR((AE_INFO, "Owner ID [0x%2.2X] already exists", |
209 | *owner_id)); | 209 | *owner_id)); |
210 | return_ACPI_STATUS(AE_ALREADY_EXISTS); | 210 | return_ACPI_STATUS(AE_ALREADY_EXISTS); |
211 | } | 211 | } |
@@ -315,7 +315,7 @@ void acpi_ut_release_owner_id(acpi_owner_id * owner_id_ptr) | |||
315 | /* Zero is not a valid owner_iD */ | 315 | /* Zero is not a valid owner_iD */ |
316 | 316 | ||
317 | if (owner_id == 0) { | 317 | if (owner_id == 0) { |
318 | ACPI_ERROR((AE_INFO, "Invalid OwnerId: %2.2X", owner_id)); | 318 | ACPI_ERROR((AE_INFO, "Invalid OwnerId: 0x%2.2X", owner_id)); |
319 | return_VOID; | 319 | return_VOID; |
320 | } | 320 | } |
321 | 321 | ||
@@ -341,7 +341,7 @@ void acpi_ut_release_owner_id(acpi_owner_id * owner_id_ptr) | |||
341 | acpi_gbl_owner_id_mask[index] ^= bit; | 341 | acpi_gbl_owner_id_mask[index] ^= bit; |
342 | } else { | 342 | } else { |
343 | ACPI_ERROR((AE_INFO, | 343 | ACPI_ERROR((AE_INFO, |
344 | "Release of non-allocated OwnerId: %2.2X", | 344 | "Release of non-allocated OwnerId: 0x%2.2X", |
345 | owner_id + 1)); | 345 | owner_id + 1)); |
346 | } | 346 | } |
347 | 347 | ||