Re: Re: [PATCH tip/core/rcu 02/18] rcu: Move rcu_report_exp_rnp() to allow consolidation

From: kbuild test robot
Date: Wed Oct 07 2015 - 08:06:35 EST


Hi Peter,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: i386-randconfig-x004-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

kernel/rcu/tree.c: In function '_raw_spin_lock_irqsave_rcu_node':
>> kernel/rcu/tree.c:1488:2: error: too many arguments to function '_raw_spin_lock_irqsave'
_raw_spin_lock_irqsave(&rnp->lock, flags);
^
In file included from include/linux/spinlock.h:280:0,
from kernel/rcu/tree.c:33:
include/linux/spinlock_api_smp.h:34:26: note: declared here
unsigned long __lockfunc _raw_spin_lock_irqsave(raw_spinlock_t *lock)
^
kernel/rcu/tree.c: At top level:
>> kernel/rcu/tree.c:1493:34: error: expected declaration specifiers or '...' before '(' token
_raw_spin_lock_irqsave_rcu_node((rnp), &(flags))
^
>> kernel/rcu/tree.c:1493:41: error: expected declaration specifiers or '...' before '&' token
_raw_spin_lock_irqsave_rcu_node((rnp), &(flags))
^
kernel/rcu/tree.c: In function 'note_gp_changes':
>> kernel/rcu/tree.c:1807:7: error: implicit declaration of function 'raw_spin_trylock_rcu_node' [-Werror=implicit-function-declaration]
!raw_spin_trylock_rcu_node(rnp)) { /* irqs already off, so later. */
^
cc1: some warnings being treated as errors

vim +/_raw_spin_lock_irqsave +1488 kernel/rcu/tree.c

1482 smp_mb__after_unlock_lock();
1483 }
1484
1485 static inline void
1486 _raw_spin_lock_irqsave_rcu_node(struct rcu_node *rnp, unsigned long *flags)
1487 {
> 1488 _raw_spin_lock_irqsave(&rnp->lock, flags);
1489 smp_mb__after_unlock_lock();
1490 }
1491
1492 #define raw_spin_lock_irqsave_rcu_node(rnp, flags)
> 1493 _raw_spin_lock_irqsave_rcu_node((rnp), &(flags))
1494
1495 static inline bool raw_spin_trylock_rcu_node(struct rcu_node *rnp)
1496 {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data