rcu: Fix coccinelle warnings
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 10 Oct 2013 18:08:33 +0000 (11:08 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Dec 2013 23:12:25 +0000 (15:12 -0800)
commitf6f7ee9af7554e4d167ccd0ffe7cb8da0aa954f9
tree114da9f32838b02d28cdb43ff7f57cebf7b3dbd8
parent3947909814f38d524829bc41bd4c11068a15f0cd
rcu: Fix coccinelle warnings

This commit fixes the following coccinelle warning:

kernel/rcu/tree.c:712:9-10: WARNING: return of 0/1 in function
'rcu_lockdep_current_cpu_online' with return type bool

Return statements in functions returning bool should use
 true/false instead of 1/0.
 Generated by: coccinelle/misc/boolreturn.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c