linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:smp/hotplug 4/20] arch/x86/kernel/cpuid.c:161:2: error: 'cpuhp_cpuid_state' undeclared
@ 2016-11-21 16:00 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-11-21 16:00 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug
head:   73f4f6f5ab9a069037b8e98663193accaf18bd5c
commit: 22fbf682c20b8c51a7fbe51d43bc9833b26c2cc4 [4/20] x86/cpuid: Move the hotplug callbacks to online
config: x86_64-randconfig-x011-201647 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 22fbf682c20b8c51a7fbe51d43bc9833b26c2cc4
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/kernel/cpuid.c: In function 'cpuid_init':
>> arch/x86/kernel/cpuid.c:161:2: error: 'cpuhp_cpuid_state' undeclared (first use in this function)
     cpuhp_cpuid_state = err;
     ^~~~~~~~~~~~~~~~~
   arch/x86/kernel/cpuid.c:161:2: note: each undeclared identifier is reported only once for each function it appears in
   arch/x86/kernel/cpuid.c: In function 'cpuid_exit':
   arch/x86/kernel/cpuid.c:174:21: error: 'cpuhp_cpuid_state' undeclared (first use in this function)
     cpuhp_remove_state(cpuhp_cpuid_state);
                        ^~~~~~~~~~~~~~~~~
   At top level:
   arch/x86/kernel/cpuid.c:48:25: warning: 'cpuid_hp_state' defined but not used [-Wunused-variable]
    static enum cpuhp_state cpuid_hp_state;
                            ^~~~~~~~~~~~~~

vim +/cpuhp_cpuid_state +161 arch/x86/kernel/cpuid.c

   155	
   156		err = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "x86/cpuid:online",
   157					cpuid_device_create, cpuid_device_destroy);
   158		if (err < 0)
   159			goto out_class;
   160	
 > 161		cpuhp_cpuid_state = err;
   162		return 0;
   163	
   164	out_class:

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32678 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-21 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21 16:00 [tip:smp/hotplug 4/20] arch/x86/kernel/cpuid.c:161:2: error: 'cpuhp_cpuid_state' undeclared kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).