forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/acpi/acpica/uterror.c
....@@ -39,7 +39,7 @@
3939 acpi_ut_predefined_warning(const char *module_name,
4040 u32 line_number,
4141 char *pathname,
42
- u8 node_flags, const char *format, ...)
42
+ u16 node_flags, const char *format, ...)
4343 {
4444 va_list arg_list;
4545
....@@ -81,7 +81,7 @@
8181 void ACPI_INTERNAL_VAR_XFACE
8282 acpi_ut_predefined_info(const char *module_name,
8383 u32 line_number,
84
- char *pathname, u8 node_flags, const char *format, ...)
84
+ char *pathname, u16 node_flags, const char *format, ...)
8585 {
8686 va_list arg_list;
8787
....@@ -124,7 +124,7 @@
124124 acpi_ut_predefined_bios_error(const char *module_name,
125125 u32 line_number,
126126 char *pathname,
127
- u8 node_flags, const char *format, ...)
127
+ u16 node_flags, const char *format, ...)
128128 {
129129 va_list arg_list;
130130
....@@ -183,19 +183,19 @@
183183 case AE_ALREADY_EXISTS:
184184
185185 acpi_os_printf(ACPI_MSG_BIOS_ERROR);
186
- message = "Failure creating";
186
+ message = "Failure creating named object";
187187 break;
188188
189189 case AE_NOT_FOUND:
190190
191191 acpi_os_printf(ACPI_MSG_BIOS_ERROR);
192
- message = "Could not resolve";
192
+ message = "Could not resolve symbol";
193193 break;
194194
195195 default:
196196
197197 acpi_os_printf(ACPI_MSG_ERROR);
198
- message = "Failure resolving";
198
+ message = "Failure resolving symbol";
199199 break;
200200 }
201201
....@@ -317,7 +317,8 @@
317317 }
318318
319319 acpi_ns_print_node_pathname(node, message);
320
- acpi_os_printf(", %s", acpi_format_exception(method_status));
320
+ acpi_os_printf(" due to previous error (%s)",
321
+ acpi_format_exception(method_status));
321322
322323 ACPI_MSG_SUFFIX;
323324 ACPI_MSG_REDIRECT_END;