rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs()
authorPranith Kumar <bobby.prani@gmail.com>
Tue, 8 Jul 2014 22:26:17 +0000 (18:26 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 17:08:01 +0000 (10:08 -0700)
Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() as this has
bool as return type.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/rcu/tree_plugin.h

index 427110475e33ace802ea0259d0adc5f3f8f4064d..4c1af96836f66206d0d5f2e05f2e3c5927fa5755 100644 (file)
@@ -2581,7 +2581,7 @@ static bool __maybe_unused rcu_nocb_adopt_orphan_cbs(struct rcu_state *rsp,
                                                     struct rcu_data *rdp,
                                                     unsigned long flags)
 {
-       return 0;
+       return false;
 }
 
 static void __init rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp)