summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2022-04-11 21:03:16 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-04-13 20:24:58 +0200
commitbf285d25406ed44d1711d59155a658032d31a11c (patch)
tree46b50f69f722c7c9e7a640820b411370ea1419e4 /drivers
parent4fd147530edd44439a099dda6b22f1a390f306ab (diff)
ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output
ACPICA commit 82a46ba57fe03ae99342740b92a04d8a8184860d %llu fails on 32-bit compilers. Link: https://github.com/acpica/acpica/commit/82a46ba5 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/acpica/exsystem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
index 6095ac83f6f6..0d261d470ffe 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -175,8 +175,9 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
*/
if (how_long_ms > 10) {
ACPI_WARNING((AE_INFO,
- "Firmware issue: Excessive sleep time (%lu ms > 10 ms) in ACPI Control Method",
- how_long_ms));
+ "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
+ " in ACPI Control Method",
+ ACPI_FORMAT_UINT64(how_long_ms)));
}
/*