[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706010728.Luz4Q49P%fengguang.wu@intel.com>
Date: Thu, 1 Jun 2017 07:56:20 +0800
From: kbuild test robot <lkp@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: kbuild-all@...org, Christoph Hellwig <hch@....de>,
linux-kernel@...r.kernel.org,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
linux-acpi@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Borislav Petkov <bp@...e.de>, intel-gfx@...ts.freedesktop.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API
Hi Andy,
[auto build test WARNING on pm/linux-next]
[also build test WARNING 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-x010-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 warnings (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;
^~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/acpi/bus.c:21:
drivers/acpi/bus.c:234:6: error: implicit declaration of function 'guid_parse' [-Werror=implicit-function-declaration]
if (guid_parse(context->uuid_str, &guid))
^
include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
>> drivers/acpi/bus.c:234:2: note: in expansion of macro 'if'
if (guid_parse(context->uuid_str, &guid))
^~
cc1: some warnings being treated as errors
vim +/if +234 drivers/acpi/bus.c
218 return AE_OK;
219 }
220 EXPORT_SYMBOL_GPL(acpi_str_to_uuid);
221
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;
238
239 /* Setting up input parameters */
240 input.count = 4;
241 input.pointer = in_params;
242 in_params[0].type = ACPI_TYPE_BUFFER;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (24102 bytes)
Powered by blists - more mailing lists