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>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 20 May 2016 18:30:15 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Mark Rutland <mark.rutland@....com>
Cc:	kbuild-all@...org, paulmck@...ux.vnet.ibm.com,
	catalin.marinas@....com, dennis.chen@....com,
	jiangshanlai@...il.com, josh@...htriplett.org,
	linux-kernel@...r.kernel.org, mark.rutland@....com,
	mathieu.desnoyers@...icios.com, rostedt@...dmis.org,
	steve.capper@....com, will.deacon@....com
Subject: Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

Hi,

[auto build test ERROR on rcu/rcu/next]
[cannot apply to v4.6 next-20160519]
[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/Mark-Rutland/rcu-tree-correctly-handle-sparse-possible-CPUs/20160517-182533
base:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
config: x86_64-randconfig-s5-05172218 (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=x86_64 

Note: the linux-review/Mark-Rutland/rcu-tree-correctly-handle-sparse-possible-CPUs/20160517-182533 HEAD 63c5ae5d92c6952c029738ca1dd3382ce8b1cf4d 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 +1169 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" (27939 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ