Re: [PATCH 1/2] drivers/base: Combine topology.c and cpu.c
From: kbuild test robot
Date: Wed Sep 07 2016 - 09:32:06 EST
Hi Prarit,
[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on v4.8-rc5 next-20160907]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Prarit-Bhargava/cpu-hotplug-keep-topology-directory-after-soft-remove-event/20160907-210020
config: x86_64-randconfig-x015-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/base/cpu.c:260:11: error: 'topology_attrs' undeclared here (not in a function)
.attrs = topology_attrs,
^~~~~~~~~~~~~~
vim +/topology_attrs +260 drivers/base/cpu.c
254 static struct attribute_group crash_note_cpu_attr_group = {
255 .attrs = crash_note_cpu_attrs,
256 };
257 #endif
258
259 static struct attribute_group topology_attr_group = {
> 260 .attrs = topology_attrs,
261 .name = "topology"
262 };
263
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data