Skip to content

Commit

Permalink
ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Apr 13, 2022
1 parent 4fd1475 commit bf285d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/acpi/acpica/exsystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

/*
Expand Down

0 comments on commit bf285d2

Please sign in to comment.