Re: [PATCH 0/9] rcu: trivial sparse and return type fixes for rcu

Paul E. McKenney
2014-07-08T22:49:10Z

On Tue, Jul 08, 2014 at 06:32:03PM -0400, Pranith Kumar wrote:
> This patch series contains trivial fixes for sparse warnings and using bool
> types where appropriate instead of 0/1.
>
> I can probably merge the return type changes into one commit if you think that
> is appropriate.

Queued for 3.18, with the exception of 3/9, which I fixed up and queued
the earlier version. I guess I should have waited a few minutes longer. ;-)

Thanx, Paul

> Pranith Kumar (9):
> rcu: fix sparse warning about rcu_batches_completed_preempt(
> ) being
> non-static
> rcu: use bool type for return value in rcu_is_watching()
> rcu: Fix a sparse warning about boost_mutex being non-static
> rcu: return bool type in rcu_lockdep_current_cpu_online()
> rcu: return bool type for rcu_try_advance_all_cbs()
> rcu: use true/false for return in __call_rcu_nocb()
> rcu: use true/false for return in rcu_nocb_adopt_orphan_cbs()
> rcu: use false for return in __call_rcu_nocb()
> rcu: use bool return type in rcu_nocb_adopt_orphan_cbs()
>
> include/linux/rcupdate.h | 2 +-
> kernel/rcu/rcutorture.c | 2 +-
> kernel/rcu/tree.c | 2 +-
> kernel/rcu/tree_plugin.h | 16 ++++++++--------
> 4 files changed, 11 insertions(+), 11 deletions(-)
>