[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <110004027.nniJfEyVGO@kreacher>
Date: Mon, 11 Apr 2022 21:03:16 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux ACPI <linux-acpi@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Bob Moore <robert.moore@...el.com>
Subject: [PATCH 19/20] ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output
From: Bob Moore <robert.moore@...el.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@...el.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
---
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)));
}
/*
Powered by blists - more mailing lists