[PATCH 19/20] ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output

From: Rafael J. Wysocki
Date: Mon Apr 11 2022 - 15:04:28 EST


From: Bob Moore <robert.moore@xxxxxxxxx>

ACPICA commit 82a46ba57fe03ae99342740b92a04d8a8184860d

%llu fails on 32-bit compilers.

Link: https://github.com/acpica/acpica/commit/82a46ba5
Signed-off-by: Bob Moore <robert.moore@xxxxxxxxx>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---
exsystem.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff -Nurp linux.before_name/drivers/acpi/acpica/exsystem.c linux.after_name/drivers/acpi/acpica/exsystem.c
--- linux.before_name/drivers/acpi/acpica/exsystem.c 2022-04-01 18:28:45.856660253 +0200
+++ linux.after_name/drivers/acpi/acpica/exsystem.c 2022-04-01 18:28:42.231705592 +0200
@@ -175,8 +175,9 @@ acpi_status acpi_ex_system_do_sleep(u64
*/
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)));
}

/*