mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [rcu:rcu/next 66/109] kernel/rcu/srcu.c:516:15: error: redefinition of 'srcu_batches_completed'
@ 2017-06-11  1:16 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-11  1:16 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2699 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head:   0d02a83770da1e677b09192a22ae93a9788badcd
commit: 5a0465e17a18c467b712a816985b7b8dd8d10c16 [66/109] srcu: Shrink srcu.h by moving docbook and private function
config: mn10300-allmodconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 5a0465e17a18c467b712a816985b7b8dd8d10c16
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

Note: the rcu/rcu/next HEAD 0d02a83770da1e677b09192a22ae93a9788badcd builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> kernel/rcu/srcu.c:516:15: error: redefinition of 'srcu_batches_completed'
    unsigned long srcu_batches_completed(struct srcu_struct *sp)
                  ^~~~~~~~~~~~~~~~~~~~~~
   In file included from kernel/rcu/srcu.c:39:0:
   kernel/rcu/rcu.h:495:29: note: previous definition of 'srcu_batches_completed' was here
    static inline unsigned long srcu_batches_completed(struct srcu_struct *sp)
                                ^~~~~~~~~~~~~~~~~~~~~~

vim +/srcu_batches_completed +516 kernel/rcu/srcu.c

621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  510   * srcu_batches_completed - return batches completed.
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  511   * @sp: srcu_struct on which to report batch completion.
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  512   *
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  513   * Report the number of batches, correlated with, but not necessarily
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  514   * precisely the same as, the number of grace periods that have elapsed.
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  515   */
a5c198f4 kernel/rcu/srcu.c Paul E. McKenney 2014-11-23 @516  unsigned long srcu_batches_completed(struct srcu_struct *sp)
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  517  {
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  518  	return sp->completed;
621934ee kernel/srcu.c     Paul E. McKenney 2006-10-04  519  }

:::::: The code at line 516 was first introduced by commit
:::::: a5c198f4f7da6cc48116ca239c59c9f44b753364 rcu: Expand SRCU ->completed to 64 bits

:::::: TO: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
:::::: CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

---
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: 43692 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-11  1:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-11  1:16 [rcu:rcu/next 66/109] kernel/rcu/srcu.c:516:15: error: redefinition of 'srcu_batches_completed' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®