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/hwsleep.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/hwsleep.c')
-rw-r--r-- | drivers/acpi/acpica/hwsleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c index 5e6d4dbb8024..36eb803dd9d0 100644 --- a/drivers/acpi/acpica/hwsleep.c +++ b/drivers/acpi/acpica/hwsleep.c | |||
@@ -245,7 +245,7 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state) | |||
245 | 245 | ||
246 | if ((acpi_gbl_sleep_type_a > ACPI_SLEEP_TYPE_MAX) || | 246 | if ((acpi_gbl_sleep_type_a > ACPI_SLEEP_TYPE_MAX) || |
247 | (acpi_gbl_sleep_type_b > ACPI_SLEEP_TYPE_MAX)) { | 247 | (acpi_gbl_sleep_type_b > ACPI_SLEEP_TYPE_MAX)) { |
248 | ACPI_ERROR((AE_INFO, "Sleep values out of range: A=%X B=%X", | 248 | ACPI_ERROR((AE_INFO, "Sleep values out of range: A=0x%X B=0x%X", |
249 | acpi_gbl_sleep_type_a, acpi_gbl_sleep_type_b)); | 249 | acpi_gbl_sleep_type_a, acpi_gbl_sleep_type_b)); |
250 | return_ACPI_STATUS(AE_AML_OPERAND_VALUE); | 250 | return_ACPI_STATUS(AE_AML_OPERAND_VALUE); |
251 | } | 251 | } |