* [rcu:rcu/next 5/78] kernel/rcutree.c:1131:41: error: 'flags' undeclared
@ 2012-09-20 21:24 Fengguang Wu
2012-09-20 21:58 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-20 21:24 UTC (permalink / raw)
To: kernel-janitors
Hi Paul,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head: d58ab773ab8bc98c81c7d49c04bc88b6e7968385
commit: 552116942862340a4a0577cbac194ddc6185e4cb [5/78] rcu: Move RCU grace-period cleanup into kthread
config: x86_64-allmodconfig
All related error/warning messages:
kernel/rcutree.c: In function 'rcu_gp_kthread':
kernel/rcutree.c:1131:41: error: 'flags' undeclared (first use in this function)
kernel/rcutree.c:1131:41: note: each undeclared identifier is reported only once for each function it appears in
kernel/rcutree.c:1131:74: warning: comparison of distinct pointer types lacks a cast [enabled by default]
kernel/rcutree.c:1176:74: warning: comparison of distinct pointer types lacks a cast [enabled by default]
vim +1131 kernel/rcutree.c
1125 if (!ACCESS_ONCE(rnp->qsmask) &&
1126 !rcu_preempt_blocked_readers_cgp(rnp))
1127 break;
1128 flush_signals(current);
1129 }
1130
> 1131 raw_spin_lock_irqsave(&rnp->lock, flags);
1132 gp_duration = jiffies - rsp->gp_start;
1133 if (gp_duration > rsp->gp_max)
1134 rsp->gp_max = gp_duration;
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [rcu:rcu/next 5/78] kernel/rcutree.c:1131:41: error: 'flags' undeclared
2012-09-20 21:24 [rcu:rcu/next 5/78] kernel/rcutree.c:1131:41: error: 'flags' undeclared Fengguang Wu
@ 2012-09-20 21:58 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2012-09-20 21:58 UTC (permalink / raw)
To: kernel-janitors
On Fri, Sep 21, 2012 at 05:24:47AM +0800, Fengguang Wu wrote:
> Hi Paul,
>
> FYI, kernel build failed on
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
> head: d58ab773ab8bc98c81c7d49c04bc88b6e7968385
> commit: 552116942862340a4a0577cbac194ddc6185e4cb [5/78] rcu: Move RCU grace-period cleanup into kthread
> config: x86_64-allmodconfig
>
> All related error/warning messages:
>
> kernel/rcutree.c: In function 'rcu_gp_kthread':
> kernel/rcutree.c:1131:41: error: 'flags' undeclared (first use in this function)
> kernel/rcutree.c:1131:41: note: each undeclared identifier is reported only once for each function it appears in
> kernel/rcutree.c:1131:74: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> kernel/rcutree.c:1176:74: warning: comparison of distinct pointer types lacks a cast [enabled by default]
>
> vim +1131 kernel/rcutree.c
> 1125 if (!ACCESS_ONCE(rnp->qsmask) &&
> 1126 !rcu_preempt_blocked_readers_cgp(rnp))
> 1127 break;
> 1128 flush_signals(current);
> 1129 }
> 1130
> > 1131 raw_spin_lock_irqsave(&rnp->lock, flags);
> 1132 gp_duration = jiffies - rsp->gp_start;
> 1133 if (gp_duration > rsp->gp_max)
> 1134 rsp->gp_max = gp_duration;
<facepalm>
I clearly put the raw_spin_lock_irq() conversion in the wrong commit.
Fixing, will push the new version shortly.
Thanx, Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-20 21:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 21:24 [rcu:rcu/next 5/78] kernel/rcutree.c:1131:41: error: 'flags' undeclared Fengguang Wu
2012-09-20 21:58 ` Paul E. McKenney
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.