Re: [PATCH 3/9] ACPI: add struct acpi_amba_quirk for AMD pl330 specific device config

From: kbuild test robot
Date: Fri Dec 04 2015 - 07:57:45 EST


Hi Wang,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.4-rc3 next-20151203]

url: https://github.com/0day-ci/linux/commits/Wang-Hongcheng/8250-AMD-Carrizo-UART-PL300-DMA-enablement/20151204-203235
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-lkp (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/acpi/acpi_apd.c: In function 'acpi_apd_create_device':
>> drivers/acpi/acpi_apd.c:145:3: error: implicit declaration of function 'setup_quirks' [-Werror=implicit-function-declaration]
setup_quirks(pdev, &amba_quirks);
^
cc1: some warnings being treated as errors

vim +/setup_quirks +145 drivers/acpi/acpi_apd.c

139 pdev = acpi_create_platform_device(adev);
140 if (IS_ERR_OR_NULL(pdev))
141 goto err_out;
142
143 if (!strncmp(pdev->name, "AMD0020", 7)) {
144 memset(&amba_quirks, 0, sizeof(amba_quirks));
> 145 setup_quirks(pdev, &amba_quirks);
146
147 amba_dev = acpi_create_amba_device(pdata->adev, 0x00041330,
148 48000000,

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data