Hi,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160713]
[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/Allen-Hung/dmi-id-export-oem-strings-to-sysfs/20160714-161631
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/firmware/dmi-id.c: In function 'dmi_id_init_oem_attr_group':
>> drivers/firmware/dmi-id.c:107:28: error: 'dmi_dev' undeclared (first use in 
>> this function)
     ret = sysfs_create_group(&dmi_dev->kobj, &dmi_oem_attr_group);
                               ^~~~~~~
   drivers/firmware/dmi-id.c:107:28: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/dmi_dev +107 drivers/firmware/dmi-id.c

   101          int i, ret;
   102          const struct dmi_device *dev;
   103          struct dmi_oem_attribute *oa, *tmp;
   104          struct device_attribute dev_attr_tmpl =
   105                  __ATTR(, 0444, sys_dmi_oem_show, NULL);
   106  
 > 107          ret = sysfs_create_group(&dmi_dev->kobj, &dmi_oem_attr_group);
   108          if (ret)
   109                  return ret;
   110  

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

Attachment: .config.gz
Description: Binary data

Reply via email to