[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201607141715.vw8AXpMK%fengguang.wu@intel.com>
Date: Thu, 14 Jul 2016 17:16:27 +0800
From: kbuild test robot <lkp@...el.com>
To: Allen Hung <allen_hung@...l.com>
Cc: kbuild-all@...org, Jean Delvare <jdelvare@...e.com>,
linux-kernel@...r.kernel.org,
Mario Limonciello <mario_limonciello@...l.com>,
Allen Hung <allen_hung@...l.com>
Subject: Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem
strings to sysfs
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
Download attachment ".config.gz" of type "application/octet-stream" (24901 bytes)
Powered by blists - more mailing lists