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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to