diff mbox series

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

Message ID 110004027.nniJfEyVGO@kreacher
State New
Headers show
Series ACPICA: ACPICA 20220331 | expand

Commit Message

Rafael J. Wysocki April 11, 2022, 7:03 p.m. UTC
From: Bob Moore <robert.moore@intel.com>

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>
---
 exsystem.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

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)));
 	}
 
 	/*