lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 22 Nov 2016 00:00:58 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:smp/hotplug 4/20] arch/x86/kernel/cpuid.c:161:2: error:
 'cpuhp_cpuid_state' undeclared

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

Download attachment ".config.gz" of type "application/gzip" (32678 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ