summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwsleep.c
diff options
context:
space:
mode:
authorBob Moore2010-05-26 05:47:13 +0200
committerLen Brown2010-07-07 04:33:55 +0200
commitb27d65975c252ff774edff8e01f0a9fd46d8ab62 (patch)
tree44d248396fb3f17d62931cdd3922812bd8a07df3 /drivers/acpi/acpica/hwsleep.c
parentACPICA: Expand initialization counters to 32 bits (diff)
downloadkernel-qcow2-linux-b27d65975c252ff774edff8e01f0a9fd46d8ab62.tar.gz
kernel-qcow2-linux-b27d65975c252ff774edff8e01f0a9fd46d8ab62.tar.xz
kernel-qcow2-linux-b27d65975c252ff774edff8e01f0a9fd46d8ab62.zip
ACPICA: Core: Replace all %d format specifiers with %u (unsigned)
With only a few exceptions, ACPICA does not use signed integers. Therefore, %d is incorrect. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c
index 36eb803dd9d0..3796811276ac 100644
--- a/drivers/acpi/acpica/hwsleep.c
+++ b/drivers/acpi/acpica/hwsleep.c
@@ -307,7 +307,7 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state)
return_ACPI_STATUS(status);
}
ACPI_DEBUG_PRINT((ACPI_DB_INIT,
- "Entering sleep state [S%d]\n", sleep_state));
+ "Entering sleep state [S%u]\n", sleep_state));
/* Clear the SLP_EN and SLP_TYP fields */