提交 b95dd175 编写于 作者: S Sascha Wildner 提交者: Rafael J. Wysocki

ACPICA: Remove some extraneous printf arguments.

Arguments that have no associated % format specifier.
Apparently these are not caught by any current compilers.
ACPICA BZ 1090. Sascha Wildner.

Currently, this patch only affects applications under the
toos/power/acpi folder.

Link: https://bugs.acpica.org/show_bug.cgi?id=1090Signed-off-by: NSascha Wildner <swildner@gmail.com>
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 d38bb002
...@@ -494,7 +494,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc, ...@@ -494,7 +494,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
} }
} }
acpi_os_printf("\n", next); acpi_os_printf("\n");
break; break;
case ACPI_EXD_HDLR_LIST: case ACPI_EXD_HDLR_LIST:
...@@ -528,7 +528,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc, ...@@ -528,7 +528,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
} }
} }
acpi_os_printf("\n", next); acpi_os_printf("\n");
break; break;
case ACPI_EXD_RGN_LIST: case ACPI_EXD_RGN_LIST:
...@@ -562,7 +562,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc, ...@@ -562,7 +562,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
} }
} }
acpi_os_printf("\n", next); acpi_os_printf("\n");
break; break;
case ACPI_EXD_NODE: case ACPI_EXD_NODE:
......
...@@ -201,8 +201,7 @@ acpi_ut_read_table(FILE * fp, ...@@ -201,8 +201,7 @@ acpi_ut_read_table(FILE * fp,
status = fl_check_for_ascii(fp, NULL, FALSE); status = fl_check_for_ascii(fp, NULL, FALSE);
if (ACPI_SUCCESS(status)) { if (ACPI_SUCCESS(status)) {
acpi_os_printf acpi_os_printf
("File appears to be ASCII only, must be binary\n", ("File appears to be ASCII only, must be binary\n");
table_header.length, file_size);
} }
#endif #endif
return (AE_BAD_HEADER); return (AE_BAD_HEADER);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册