Skip to content

Commit bf285d2

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output
ACPICA commit 82a46ba57fe03ae99342740b92a04d8a8184860d %llu fails on 32-bit compilers. Link: acpica/acpica@82a46ba5 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 4fd1475 commit bf285d2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/acpi/acpica/exsystem.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
175175
*/
176176
if (how_long_ms > 10) {
177177
ACPI_WARNING((AE_INFO,
178-
"Firmware issue: Excessive sleep time (%lu ms > 10 ms) in ACPI Control Method",
179-
how_long_ms));
178+
"Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
179+
" in ACPI Control Method",
180+
ACPI_FORMAT_UINT64(how_long_ms)));
180181
}
181182

182183
/*

0 commit comments

Comments
 (0)