From: kbuild test robot <fengguang.wu@intel.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: [rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit declaration of function 'rcu_seq_ctr'
Date: Wed, 19 Apr 2017 09:32:34 +0800 [thread overview]
Message-ID: <201704190932.66Lqc42h%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24849 bytes --]
reply other threads:[~2017-04-19 1:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201704190932.66Lqc42h%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).