From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the pm tree
Date: Wed, 29 Jun 2022 15:01:51 +0200 [thread overview]
Message-ID: <5855454.lOV4Wx5bFT@kreacher> (raw)
In-Reply-To: <20220629102304.6d924362@canb.auug.org.au>
On Wednesday, June 29, 2022 2:23:04 AM CEST Stephen Rothwell wrote:
> Hi all,
>
> After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> In file included from include/linux/list.h:5,
> from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c: In function 'hisi_lpc_acpi_remove':
> drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~
> include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
> 18 | void *__mptr = (void *)(ptr); \
> | ^~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
> 20 | __same_type(*(ptr), void), \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
> 293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/kasan-checks.h:5,
> from include/asm-generic/rwonce.h:26,
> from ./arch/x86/include/generated/asm/rwonce.h:1,
> from include/linux/compiler.h:248,
> from include/linux/build_bug.h:5,
> from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
> 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
> | ^~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/list.h:665:16: note: in definition of macro 'list_entry_is_head'
> 665 | (&pos->member == (head))
> | ^~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~
> include/linux/list.h:665:27: note: in definition of macro 'list_entry_is_head'
> 665 | (&pos->member == (head))
> | ^~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/list.h:5,
> from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
> 18 | void *__mptr = (void *)(ptr); \
> | ^~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
> 20 | __same_type(*(ptr), void), \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
> 293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/kasan-checks.h:5,
> from include/asm-generic/rwonce.h:26,
> from ./arch/x86/include/generated/asm/rwonce.h:1,
> from include/linux/compiler.h:248,
> from include/linux/build_bug.h:5,
> from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~
> include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
> 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
> | ^~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
> 488 | list_for_each_entry(child, &adev->children, node)
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/list.h:5,
> from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c: In function 'hisi_lpc_acpi_probe':
> drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~
> include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
> 18 | void *__mptr = (void *)(ptr); \
> | ^~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
> 20 | __same_type(*(ptr), void), \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
> 293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/kasan-checks.h:5,
> from include/asm-generic/rwonce.h:26,
> from ./arch/x86/include/generated/asm/rwonce.h:1,
> from include/linux/compiler.h:248,
> from include/linux/build_bug.h:5,
> from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
> 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
> | ^~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
> 531 | list_entry((ptr)->next, type, member)
> | ^~~~~~~~~~
> include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
> 674 | for (pos = list_first_entry(head, typeof(*pos), member); \
> | ^~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/list.h:665:16: note: in definition of macro 'list_entry_is_head'
> 665 | (&pos->member == (head))
> | ^~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~
> include/linux/list.h:665:27: note: in definition of macro 'list_entry_is_head'
> 665 | (&pos->member == (head))
> | ^~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/list.h:5,
> from include/linux/kobject.h:19,
> from include/linux/of.h:17,
> from include/linux/irqdomain.h:35,
> from include/linux/acpi.h:13,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
> 18 | void *__mptr = (void *)(ptr); \
> | ^~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
> 20 | __same_type(*(ptr), void), \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
> 293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
> 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
> | ^~~~
> include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~~~
> include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
> 19 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
> | ^~~~~~~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/kasan-checks.h:5,
> from include/asm-generic/rwonce.h:26,
> from ./arch/x86/include/generated/asm/rwonce.h:1,
> from include/linux/compiler.h:248,
> from include/linux/build_bug.h:5,
> from include/linux/bits.h:22,
> from include/linux/ioport.h:13,
> from include/linux/acpi.h:12,
> from drivers/bus/hisi_lpc.c:9:
> drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~
> include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
> 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
> | ^~~~~~
> include/linux/list.h:520:9: note: in expansion of macro 'container_of'
> 520 | container_of(ptr, type, member)
> | ^~~~~~~~~~~~
> include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
> 564 | list_entry((pos)->member.next, typeof(*(pos)), member)
> | ^~~~~~~~~~
> include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
> 676 | pos = list_next_entry(pos, member))
> | ^~~~~~~~~~~~~~~
> drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
> 509 | list_for_each_entry(child, &adev->children, node) {
> | ^~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 647590eb6f34 ("ACPI: bus: Drop unused list heads from struct acpi_device")
>
> I have used the pm tree from next-20220628 for today.
Thanks for the report, should be addressed now.
Cheers,
Rafael
next prev parent reply other threads:[~2022-06-29 13:02 UTC|newest]
Thread overview: 122+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 0:23 linux-next: build failure after merge of the pm tree Stephen Rothwell
2022-06-29 13:01 ` Rafael J. Wysocki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-08 3:42 Stephen Rothwell
2024-01-24 0:51 Stephen Rothwell
2024-01-24 15:56 ` Wysocki, Rafael J
2023-12-18 23:37 Stephen Rothwell
2023-11-21 2:46 Stephen Rothwell
2023-07-14 1:00 Stephen Rothwell
2023-07-14 18:19 ` Wysocki, Rafael J
2023-07-14 18:50 ` Rafael J. Wysocki
2023-04-03 10:18 Stephen Rothwell
2023-04-03 1:25 Stephen Rothwell
2023-04-03 1:16 Stephen Rothwell
2023-04-03 1:06 Stephen Rothwell
2022-04-28 1:00 Stephen Rothwell
2022-04-28 3:07 ` Zhang Rui
2022-04-28 8:53 ` Zhang Rui
2022-04-28 8:56 ` Zhang Rui
2022-04-28 12:32 ` Rafael J. Wysocki
2022-01-04 0:15 Stephen Rothwell
2022-01-04 7:29 ` Heiner Kallweit
2022-01-04 8:02 ` Stephen Rothwell
2022-01-04 14:43 ` Heiner Kallweit
2022-01-04 14:57 ` Rafael J. Wysocki
2021-12-01 23:28 Stephen Rothwell
2021-12-02 10:04 ` Daniel Lezcano
2021-12-03 16:50 ` Rafael J. Wysocki
2021-12-03 17:22 ` Daniel Lezcano
2021-02-05 0:51 Stephen Rothwell
[not found] ` <CAHp75VfiyAtxg+wqZ30kSzCfFFsLndLjzrUc1njZG0x6vQeyBQ@mail.gmail.com>
2021-02-05 11:15 ` Andy Shevchenko
2021-02-08 19:30 ` Rafael J. Wysocki
2021-02-08 19:47 ` Andy Shevchenko
2021-02-08 19:48 ` Andy Shevchenko
2021-02-09 14:32 ` Rafael J. Wysocki
2021-02-09 16:04 ` Andy Shevchenko
2020-12-09 9:57 Stephen Rothwell
2020-03-17 7:52 Stephen Rothwell
2020-03-18 11:44 ` Stephen Rothwell
2020-03-18 11:52 ` Colin Ian King
2020-03-18 12:18 ` Stephen Rothwell
2020-03-19 5:42 ` Stephen Rothwell
2020-03-19 9:32 ` Rafael J. Wysocki
2019-07-31 5:34 Stephen Rothwell
2019-07-31 10:27 ` Rafael J. Wysocki
2019-07-15 0:02 Stephen Rothwell
2019-07-15 9:44 ` Rafael J. Wysocki
2019-07-04 9:41 Stephen Rothwell
2019-07-04 9:48 ` Viresh Kumar
2019-07-04 10:33 ` Rafael J. Wysocki
2019-07-01 3:37 Stephen Rothwell
2019-07-01 7:48 ` Viresh Kumar
2018-05-24 14:16 Mark Brown
2016-09-14 4:27 Stephen Rothwell
2016-09-14 21:38 ` Rafael J. Wysocki
2016-07-22 1:56 Stephen Rothwell
2016-07-22 2:26 ` Steve Muckle
2016-07-22 12:08 ` Rafael J. Wysocki
2016-07-22 12:16 ` Fengguang Wu
2016-07-11 1:46 Stephen Rothwell
2016-07-11 4:48 ` Mika Westerberg
2016-07-11 5:29 ` Stephen Rothwell
2016-07-11 12:57 ` Rafael J. Wysocki
2016-06-02 2:12 Stephen Rothwell
2016-04-01 1:27 Stephen Rothwell
2016-04-01 20:51 ` Rafael J. Wysocki
2015-12-09 1:54 Stephen Rothwell
2015-12-09 2:00 ` Viresh Kumar
2015-11-01 6:57 Stephen Rothwell
2015-11-02 0:37 ` Rafael J. Wysocki
2015-04-13 4:24 Stephen Rothwell
2015-04-13 12:06 ` Rafael J. Wysocki
2015-04-15 2:30 ` Stephen Rothwell
2015-02-09 2:26 Stephen Rothwell
2015-02-09 2:53 ` Jiang Liu
2015-02-09 3:22 ` Rafael J. Wysocki
2015-02-09 5:36 ` Jiang Liu
2015-02-09 6:23 ` Lorenzo Pieralisi
2015-02-09 15:10 ` Rafael J. Wysocki
2015-02-09 15:21 ` Jiang Liu
2015-02-09 15:50 ` Lorenzo Pieralisi
2015-02-09 3:19 ` Rafael J. Wysocki
2015-02-09 3:53 ` Lorenzo Pieralisi
2014-08-11 1:57 Stephen Rothwell
2014-08-12 1:10 ` Rafael J. Wysocki
2013-12-18 1:00 Stephen Rothwell
2013-12-18 1:17 ` Rafael J. Wysocki
2013-07-05 1:24 Stephen Rothwell
2013-07-05 1:37 ` Rafael J. Wysocki
2013-03-03 23:58 Stephen Rothwell
2013-03-04 11:54 ` Rafael J. Wysocki
2013-01-30 8:48 Stephen Rothwell
2013-01-30 12:50 ` Rafael J. Wysocki
2013-01-14 0:03 Stephen Rothwell
2013-01-14 12:37 ` Rafael J. Wysocki
2013-01-14 13:22 ` Sedat Dilek
2013-01-14 18:54 ` Rafael J. Wysocki
2012-11-28 4:02 Stephen Rothwell
2012-11-28 9:32 ` Rafael J. Wysocki
2012-11-26 6:09 Stephen Rothwell
2012-11-26 10:10 ` Rafael J. Wysocki
2012-09-25 4:30 Stephen Rothwell
2012-09-25 11:51 ` Rafael J. Wysocki
2012-06-20 5:01 Stephen Rothwell
2012-06-20 22:54 ` Rafael J. Wysocki
2012-01-27 1:53 Stephen Rothwell
2012-01-27 9:35 ` Rafael J. Wysocki
2011-11-10 2:31 Stephen Rothwell
2011-11-10 12:11 ` Rafael J. Wysocki
2011-11-10 15:48 ` Tejun Heo
2011-11-11 12:27 ` Rafael J. Wysocki
2011-09-28 4:51 Stephen Rothwell
2011-09-28 5:11 ` Ming Lei
2011-09-28 13:58 ` Rafael J. Wysocki
2011-09-28 14:47 ` Ming Lei
2011-09-28 19:32 ` Rafael J. Wysocki
2011-09-29 1:32 ` Ming Lei
2011-09-29 9:26 ` Rafael J. Wysocki
2011-09-29 9:32 ` Ming Lei
2011-09-29 20:25 ` Rafael J. Wysocki
2011-09-28 14:47 ` Rafael J. Wysocki
2011-08-19 13:47 Stephen Rothwell
2011-08-19 21:31 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5855454.lOV4Wx5bFT@kreacher \
--to=rjw@rjwysocki.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).