[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706010752.hcSS3JQc%fengguang.wu@intel.com>
Date: Thu, 1 Jun 2017 07:56:27 +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: [Intel-gfx] [PATCH v2 2/5] ACPI / APEI: Switch to use new
generic UUID API
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-x013-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/apei/ghes.c: In function 'ghes_do_proc':
>> drivers/acpi/apei/ghes.c:434:2: error: unknown type name 'guid_t'
guid_t *sec_type;
^~~~~~
>> drivers/acpi/apei/ghes.c:438:15: error: 'guid_t' undeclared (first use in this function)
sec_type = (guid_t *)gdata->section_type;
^~~~~~
drivers/acpi/apei/ghes.c:438:15: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/acpi/apei/ghes.c:438:23: error: expected expression before ')' token
sec_type = (guid_t *)gdata->section_type;
^
>> drivers/acpi/apei/ghes.c:440:8: error: implicit declaration of function 'guid_equal' [-Werror=implicit-function-declaration]
if (!guid_equal(sec_type, &CPER_SEC_PLATFORM_MEM)) {
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/guid_t +434 drivers/acpi/apei/ghes.c
428
429 static void ghes_do_proc(struct ghes *ghes,
430 const struct acpi_hest_generic_status *estatus)
431 {
432 int sev, sec_sev;
433 struct acpi_hest_generic_data *gdata;
> 434 guid_t *sec_type;
435
436 sev = ghes_severity(estatus->error_severity);
437 apei_estatus_for_each_section(estatus, gdata) {
> 438 sec_type = (guid_t *)gdata->section_type;
439 sec_sev = ghes_severity(gdata->error_severity);
> 440 if (!guid_equal(sec_type, &CPER_SEC_PLATFORM_MEM)) {
441 struct cper_sec_mem_err *mem_err;
442 mem_err = (struct cper_sec_mem_err *)(gdata+1);
443 ghes_edac_report_mem_error(ghes, sev, mem_err);
---
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" (29763 bytes)
Powered by blists - more mailing lists