Re: [PATCH v2 5/5] ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()

From: kbuild test robot
Date: Wed May 31 2017 - 20:12:47 EST


Hi Andy,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.12-rc3 next-20170531]
[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-et-al-convert-to-use-new-UUID-API/20170601-072311
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-x018-201722 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

In file included from include/linux/acpi.h:44:0,
from drivers/usb/host/xhci-pci.c:26:
include/acpi/acpi_bus.h:64:47: error: unknown type name 'guid_t'
bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs);
^~~~~~
include/acpi/acpi_bus.h:65:64: error: unknown type name 'guid_t'
union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
^~~~~~
include/acpi/acpi_bus.h:69:51: error: unknown type name 'guid_t'
acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev,
^~~~~~
drivers/usb/host/xhci-pci.c: In function 'xhci_pme_acpi_rtd3_enable':
>> drivers/usb/host/xhci-pci.c:216:15: error: unknown type name 'guid_t'
static const guid_t intel_dsm_guid =
^~~~~~
>> drivers/usb/host/xhci-pci.c:217:3: error: implicit declaration of function 'GUID' [-Werror=implicit-function-declaration]
GUID(0xac340cb7, 0xe901, 0x45bf,
^~~~
>> drivers/usb/host/xhci-pci.c:217:3: error: initializer element is not constant
cc1: some warnings being treated as errors

vim +/guid_t +216 drivers/usb/host/xhci-pci.c

210 "QUIRK: Resetting on resume");
211 }
212
213 #ifdef CONFIG_ACPI
214 static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev)
215 {
> 216 static const guid_t intel_dsm_guid =
> 217 GUID(0xac340cb7, 0xe901, 0x45bf,
218 0xb7, 0xe6, 0x2b, 0x34, 0xec, 0x93, 0x1e, 0x23);
219 union acpi_object *obj;
220

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

Attachment: .config.gz
Description: application/gzip