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:	Sun, 22 May 2016 07:10:46 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	unlisted-recipients:; (no To-header on input)
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Mark Rutland <mark.rutland@....com>
Subject: [rcu:dev.2016.05.18a 28/28] kernel/rcu/tree_plugin.h:1168:2: error:
 implicit declaration of function 'for_each_leaf_node_cpu_bit'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2016.05.18a
head:   a396e98dae720a48c49795892d23ca17c87319b0
commit: a396e98dae720a48c49795892d23ca17c87319b0 [28/28] rcu: Correctly handle sparse possible CPUs
config: x86_64-randconfig-n0-05220622 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout a396e98dae720a48c49795892d23ca17c87319b0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the rcu/dev.2016.05.18a HEAD a396e98dae720a48c49795892d23ca17c87319b0 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from kernel/rcu/tree.c:4209:0:
   kernel/rcu/tree_plugin.h: In function 'rcu_boost_kthread_setaffinity':
>> kernel/rcu/tree_plugin.h:1168:2: error: implicit declaration of function 'for_each_leaf_node_cpu_bit' [-Werror=implicit-function-declaration]
     for_each_leaf_node_cpu_bit(rnp, cpu, bit)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/rcu/tree_plugin.h:1169:3: error: expected ';' before 'if'
      if ((mask & bit) && cpu != outgoingcpu)
      ^~
   kernel/rcu/tree_plugin.h:1159:16: warning: unused variable 'mask' [-Wunused-variable]
     unsigned long mask = rcu_rnp_online_cpus(rnp);
                   ^~~~
   cc1: some warnings being treated as errors

vim +/for_each_leaf_node_cpu_bit +1168 kernel/rcu/tree_plugin.h

  1162		int cpu;
  1163	
  1164		if (!t)
  1165			return;
  1166		if (!zalloc_cpumask_var(&cm, GFP_KERNEL))
  1167			return;
> 1168		for_each_leaf_node_cpu_bit(rnp, cpu, bit)
> 1169			if ((mask & bit) && cpu != outgoingcpu)
  1170				cpumask_set_cpu(cpu, cm);
  1171		if (cpumask_weight(cm) == 0)
  1172			cpumask_setall(cm);

---
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" (26580 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ