ACPICA: Fully deploy ACPI_PRINTF_LIKE macro
ACPICA commit d06def132a8852d02c9c7fee60f17b2011066e8e Macro was not being used across all "printf-like" functions. Also, clean up all calls to such functions now that they are analyzed by the compiler (gcc). Both in 32-bit mode and 64-bit mode. Link: https://github.com/acpica/acpica/commit/d06def13 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
09d2c01ba9
commit
36056d0cd6
@@ -853,24 +853,24 @@ acpi_db_command_dispatch(char *input_buffer,
|
||||
|
||||
if (param_count == 0) {
|
||||
acpi_os_printf
|
||||
("Current debug level for file output is: %8.8lX\n",
|
||||
("Current debug level for file output is: %8.8X\n",
|
||||
acpi_gbl_db_debug_level);
|
||||
acpi_os_printf
|
||||
("Current debug level for console output is: %8.8lX\n",
|
||||
("Current debug level for console output is: %8.8X\n",
|
||||
acpi_gbl_db_console_debug_level);
|
||||
} else if (param_count == 2) {
|
||||
temp = acpi_gbl_db_console_debug_level;
|
||||
acpi_gbl_db_console_debug_level =
|
||||
strtoul(acpi_gbl_db_args[1], NULL, 16);
|
||||
acpi_os_printf
|
||||
("Debug Level for console output was %8.8lX, now %8.8lX\n",
|
||||
("Debug Level for console output was %8.8X, now %8.8X\n",
|
||||
temp, acpi_gbl_db_console_debug_level);
|
||||
} else {
|
||||
temp = acpi_gbl_db_debug_level;
|
||||
acpi_gbl_db_debug_level =
|
||||
strtoul(acpi_gbl_db_args[1], NULL, 16);
|
||||
acpi_os_printf
|
||||
("Debug Level for file output was %8.8lX, now %8.8lX\n",
|
||||
("Debug Level for file output was %8.8X, now %8.8X\n",
|
||||
temp, acpi_gbl_db_debug_level);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user