lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 8 Aug 2022 15:28:19 +0800
From:   Huacai Chen <chenhuacai@...nel.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>
Cc:     Huacai Chen <chenhuacai@...ngson.cn>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the loongarch tree

Hi, Stephen,

On Mon, Aug 8, 2022 at 7:03 AM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> 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.
I will fix it today, thanks.

Huacai
>
> --
> Cheers,
> Stephen Rothwell

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ