ACPICA: Standardize integer output for ACPICA warnings/errors
Always use 0x prefix for hex output, use %u for integer output (all integers are unsigned.) Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Len Brown

vecāks
0e264f0bc2
revīzija
f6a22b0bc4
@@ -105,7 +105,7 @@ acpi_ex_system_memory_space_handler(u32 function,
|
||||
break;
|
||||
|
||||
default:
|
||||
ACPI_ERROR((AE_INFO, "Invalid SystemMemory width %d",
|
||||
ACPI_ERROR((AE_INFO, "Invalid SystemMemory width %u",
|
||||
bit_width));
|
||||
return_ACPI_STATUS(AE_AML_OPERAND_VALUE);
|
||||
}
|
||||
@@ -173,7 +173,7 @@ acpi_ex_system_memory_space_handler(u32 function,
|
||||
mem_info->mapped_logical_address = acpi_os_map_memory((acpi_physical_address) address, map_length);
|
||||
if (!mem_info->mapped_logical_address) {
|
||||
ACPI_ERROR((AE_INFO,
|
||||
"Could not map memory at %8.8X%8.8X, size %X",
|
||||
"Could not map memory at 0x%8.8X%8.8X, size %u",
|
||||
ACPI_FORMAT_NATIVE_UINT(address),
|
||||
(u32) map_length));
|
||||
mem_info->mapped_length = 0;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user