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

Pranith Kumar
2014-07-08T22:32:40Z

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.

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(-)