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

From: Pranith Kumar
Date: Tue Jul 08 2014 - 18:32:43 EST

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
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(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at