Hi all, After merging the loongarch tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/acpi/tables.c: In function 'acpi_table_print_madt_entry': drivers/acpi/tables.c:213:14: error: 'ACPI_MADT_TYPE_CORE_PIC' undeclared (first use in this function); did you mean 'ACPI_MADT_TYPE_IO_SAPIC'? 213 | case ACPI_MADT_TYPE_CORE_PIC: | ^~~~~~~~~~~~~~~~~~~~~~~ | ACPI_MADT_TYPE_IO_SAPIC drivers/acpi/tables.c:213:14: note: each undeclared identifier is reported only once for each function it appears in In file included from include/linux/printk.h:573, from include/linux/kernel.h:29, from drivers/acpi/tables.c:13: drivers/acpi/tables.c:218:35: error: invalid use of undefined type 'struct acpi_madt_core_pic' 218 | p->processor_id, p->core_id, | ^~ include/linux/dynamic_debug.h:134:29: note: in definition of macro '__dynamic_func_call' 134 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/dynamic_debug.h:162:9: note: in expansion of macro '_dynamic_func_call' 162 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:588:9: note: in expansion of macro 'dynamic_pr_debug' 588 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/acpi/tables.c:217:25: note: in expansion of macro 'pr_debug' 217 | pr_debug("CORE PIC (processor_id[0x%02x] core_id[0x%02x] %s)\n", | ^~~~~~~~ drivers/acpi/tables.c:218:52: error: invalid use of undefined type 'struct acpi_madt_core_pic' 218 | p->processor_id, p->core_id, | ^~ include/linux/dynamic_debug.h:134:29: note: in definition of macro '__dynamic_func_call' 134 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/dynamic_debug.h:162:9: note: in expansion of macro '_dynamic_func_call' 162 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:588:9: note: in expansion of macro 'dynamic_pr_debug' 588 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/acpi/tables.c:217:25: note: in expansion of macro 'pr_debug' 217 | pr_debug("CORE PIC (processor_id[0x%02x] core_id[0x%02x] %s)\n", | ^~~~~~~~ drivers/acpi/tables.c:219:36: error: invalid use of undefined type 'struct acpi_madt_core_pic' 219 | (p->flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); | ^~ include/linux/dynamic_debug.h:134:29: note: in definition of macro '__dynamic_func_call' 134 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/dynamic_debug.h:162:9: note: in expansion of macro '_dynamic_func_call' 162 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:588:9: note: in expansion of macro 'dynamic_pr_debug' 588 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/acpi/tables.c:217:25: note: in expansion of macro 'pr_debug' 217 | pr_debug("CORE PIC (processor_id[0x%02x] core_id[0x%02x] %s)\n", | ^~~~~~~~ Caused by commit 0541f3fad39f ("LoongArch: Parse MADT to get multi-processor information") I have used the loongarch tree from next-20220805 for today. -- Cheers, Stephen Rothwell
Attachment:
pgp6zufWQxkl6.pgp
Description: OpenPGP digital signature