From: Nicholas Mc Guire Date: Sat, 25 Mar 2017 19:46:02 +0000 (+0100) Subject: rcu: Use true/false in assignment to bool X-Git-Tag: v4.14-rc1~934^2~5^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5455a7f6a8dc66a354c6dbf0a9f40e7cdacd11db;p=platform%2Fkernel%2Flinux-rpi.git rcu: Use true/false in assignment to bool This commit makes the parse_rcu_nocb_poll() function assign true (rather than the constant 1) to the bool variable rcu_nocb_poll. Signed-off-by: Nicholas Mc Guire Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 0a62a8f..f4b7a9b 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -1709,7 +1709,7 @@ __setup("rcu_nocbs=", rcu_nocb_setup); static int __init parse_rcu_nocb_poll(char *arg) { - rcu_nocb_poll = 1; + rcu_nocb_poll = true; return 0; } early_param("rcu_nocb_poll", parse_rcu_nocb_poll);