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>] [day] [month] [year] [list]
Date:   Mon, 15 May 2017 04:53:04 +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/dev 68/82] kernel/rcu/srcu.c:517:15: error: redefinition of
 'srcu_batches_completed'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head:   6b20d16f6b9b5ecfdd92ad59fa761a9ac3dfe442
commit: f646ee379f3552bd02b7e0acacce9aa521b30b48 [68/82] srcu: Shrink srcu.h by moving docbook and private function
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-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 f646ee379f3552bd02b7e0acacce9aa521b30b48
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

>> kernel/rcu/srcu.c:517: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 +517 kernel/rcu/srcu.c

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

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

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

---
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" (44084 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ