[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201704190932.66Lqc42h%fengguang.wu@intel.com>
Date: Wed, 19 Apr 2017 09:32:34 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit
declaration of function 'rcu_seq_ctr'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head: b4d55cac0a93834e7e79143111a0b8ecea49a630
commit: b4d55cac0a93834e7e79143111a0b8ecea49a630 [29/29] srcu: Make rcutorture writer stalls print SRCU GP state
config: i386-randconfig-x005-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout b4d55cac0a93834e7e79143111a0b8ecea49a630
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from include/linux/srcu.h:60:0,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:749,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/srcutiny.h: In function 'srcutorture_get_gp_data':
>> include/linux/srcutiny.h:90:15: error: implicit declaration of function 'rcu_seq_ctr' [-Werror=implicit-function-declaration]
*completed = rcu_seq_ctr(sp->srcu_gp_seq);
^~~~~~~~~~~
Cyclomatic Complexity 1 arch/x86/kernel/asm-offsets_32.c:foo
Cyclomatic Complexity 1 arch/x86/kernel/asm-offsets.c:common
Cyclomatic Complexity 1 arch/x86/kernel/asm-offsets.c:_GLOBAL__sub_I_65535_0_foo
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/rcu_seq_ctr +90 include/linux/srcutiny.h
84 unsigned long *gpnum,
85 unsigned long *completed)
86 {
87 if (test_type != SRCU_FLAVOR)
88 return;
89 *flags = 0;
> 90 *completed = rcu_seq_ctr(sp->srcu_gp_seq);
91 *gpnum = *completed;
92 if (rcu_segcblist_ready_cbs(&sp->srcu_cblist))
93 (*gpnum)++;
---
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" (24849 bytes)
Powered by blists - more mailing lists