diff options
author | Bob Moore <robert.moore@intel.com> | 2010-03-05 10:56:40 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 16:42:52 +0200 |
commit | f6a22b0bc417042e83117f52ab1a03696af185ab (patch) | |
tree | 0d03a22c27c592338629f2af67e7b2b9a8521b01 /drivers/acpi/acpica/hwsleep.c | |
parent | ACPICA: Add support for MCHI table (diff) | |
download | linux-f6a22b0bc417042e83117f52ab1a03696af185ab.tar.xz linux-f6a22b0bc417042e83117f52ab1a03696af185ab.zip |
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) if ((acpi_gbl_sleep_type_a > ACPI_SLEEP_TYPE_MAX) || (acpi_gbl_sleep_type_b > ACPI_SLEEP_TYPE_MAX)) { - ACPI_ERROR((AE_INFO, "Sleep values out of range: A=%X B=%X", + ACPI_ERROR((AE_INFO, "Sleep values out of range: A=0x%X B=0x%X", acpi_gbl_sleep_type_a, acpi_gbl_sleep_type_b)); return_ACPI_STATUS(AE_AML_OPERAND_VALUE); } |