From: Pranith Kumar Date: Tue, 8 Jul 2014 22:26:17 +0000 (-0400) Subject: rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4aa84ba24872e3a8e59b58bc8533cae95597f2e;p=openwrt%2Fstaging%2Fblogic.git rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() as this has bool as return type. Signed-off-by: Pranith Kumar Signed-off-by: Paul E. McKenney Tested-by: Paul Gortmaker --- diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 427110475e33..4c1af96836f6 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -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)