Re: [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API
From: kbuild test robot
Date: Wed May 31 2017 - 20:05:41 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-x019-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 >>):
drivers/acpi/bus.c: In function 'acpi_run_osc':
>> drivers/acpi/bus.c:228:2: error: unknown type name 'guid_t'
guid_t guid;
^~~~~~
>> drivers/acpi/bus.c:234:6: error: implicit declaration of function 'guid_parse' [-Werror=implicit-function-declaration]
if (guid_parse(context->uuid_str, &guid))
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/guid_t +228 drivers/acpi/bus.c
222 acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context)
223 {
224 acpi_status status;
225 struct acpi_object_list input;
226 union acpi_object in_params[4];
227 union acpi_object *out_obj;
> 228 guid_t guid;
229 u32 errors;
230 struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL};
231
232 if (!context)
233 return AE_ERROR;
> 234 if (guid_parse(context->uuid_str, &guid))
235 return AE_ERROR;
236 context->ret.length = ACPI_ALLOCATE_BUFFER;
237 context->ret.pointer = NULL;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip