linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)
From: Stephen Rothwell
Date: Mon Oct 14 2019 - 19:16:57 EST
Hi all,
On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the pm tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> In file included from include/linux/irqchip.h:14,
> from arch/arm/kernel/irq.c:26:
> include/linux/acpi.h:682:31: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration
> 682 | acpi_dev_hid_uid_match(struct acpi_device *adev, const char *hid2, const char *uid2)
> | ^~~~~~~~~~~
>
> and many more.
>
> Introduced by commit
>
> d1748b57dc88 ("ACPI / utils: Introduce acpi_dev_hid_uid_match() helper")
>
> CONFIG_ACPI is not set for this build.
This became a build failure for the powerpc ppc64_allmodconfig build:
In file included from include/linux/i2c.h:13,
from arch/powerpc/platforms/pasemi/misc.c:14:
include/linux/acpi.h:682:31: error: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
682 | acpi_dev_hid_uid_match(struct acpi_device *adev, const char *hid2, const char *uid2)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
(and many more)
I have used the pm tree from next-20191014 for today.
--
Cheers,
Stephen Rothwell
Attachment:
pgpCaxL6mmteY.pgp
Description: OpenPGP digital signature