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:08: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: i386-randconfig-x072-05301437 (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=i386

All errors (new ones prefixed by >>):

In file included from include/linux/acpi.h:44:0,
from drivers/usb/misc/ucsi.c:15:
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/misc/ucsi.c: In function 'ucsi_acpi_cmd':
>> drivers/usb/misc/ucsi.c:58:2: error: unknown type name 'guid_t'
guid_t guid = GUID(0x6f8398c2, 0x7ca4, 0x11e4,
^~~~~~
>> drivers/usb/misc/ucsi.c:58:16: error: implicit declaration of function 'GUID' [-Werror=implicit-function-declaration]
guid_t guid = GUID(0x6f8398c2, 0x7ca4, 0x11e4,
^~~~
cc1: some warnings being treated as errors

vim +/guid_t +58 drivers/usb/misc/ucsi.c

52 #define EVENT_PENDING 0
53 #define COMMAND_PENDING 1
54 };
55
56 static int ucsi_acpi_cmd(struct ucsi *ucsi, struct ucsi_control *ctrl)
57 {
> 58 guid_t guid = GUID(0x6f8398c2, 0x7ca4, 0x11e4,
59 0xad, 0x36, 0x63, 0x10, 0x42, 0xb5, 0x00, 0x8f);
60 union acpi_object *obj;
61

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

Attachment: .config.gz
Description: application/gzip