Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.18-rc4 next-20180713] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ACPI-utils-Introduce-acpi_dev_get_first_device-helper/20180714-120815 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): arch/x86/kernel/setup.o: In function `acpi_dev_get_first_match': >> setup.c:(.text+0x3): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/i8259.o: In function `acpi_dev_get_first_match': i8259.c:(.text+0x2c2): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/irqinit.o: In function `acpi_dev_get_first_match': irqinit.c:(.text+0x0): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/bootflag.o: In function `acpi_dev_get_first_match': bootflag.c:(.text+0x0): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/e820.o: In function `acpi_dev_get_first_match': e820.c:(.text+0xb1): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/pci-dma.o: In function `acpi_dev_get_first_match': pci-dma.c:(.text+0x0): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here arch/x86/kernel/rtc.o: In function `acpi_dev_get_first_match': rtc.c:(.text+0x41): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here kernel/sysctl.o: In function `acpi_dev_get_first_match': sysctl.c:(.text+0x0): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here kernel/dma/mapping.o: In function `acpi_dev_get_first_match': mapping.c:(.text+0xfe): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here drivers/base/platform.o: In function `acpi_dev_get_first_match': platform.c:(.text+0x1eb): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here drivers/base/cpu.o: In function `acpi_dev_get_first_match': cpu.c:(.text+0x1a1): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here drivers/base/property.o: In function `acpi_dev_get_first_match': property.c:(.text+0x2d3): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here drivers/base/cacheinfo.o: In function `acpi_dev_get_first_match': cacheinfo.c:(.text+0x2e5): multiple definition of `acpi_dev_get_first_match' init/main.o:main.c:(.text+0x19): first defined here --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip