Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1625778 > unrolled thread

[rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit declaration of function 'rcu_seq_ctr'

Started bykbuild test robot <fengguang.wu@intel.com>
First post2017-04-19 03:40 +0200
Last post2017-04-19 03:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit  declaration of function 'rcu_seq_ctr' kbuild test robot <fengguang.wu@intel.com> - 2017-04-19 03:40 +0200

#1625778 — [rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit declaration of function 'rcu_seq_ctr'

Fromkbuild test robot <fengguang.wu@intel.com>
Date2017-04-19 03:40 +0200
Subject[rcu:rcu/next 29/29] include/linux/srcutiny.h:90:15: error: implicit declaration of function 'rcu_seq_ctr'
Message-ID<txML8-5kl-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web