From: Pranith Kumar Date: Tue, 8 Jul 2014 22:26:11 +0000 (-0400) Subject: rcu: Use bool type for return value in rcu_is_watching() X-Git-Tag: v3.18-rc1~74^2~1^2~16^2~11 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f534ed1fd71cea885a59255d9b44c3b17df03eb1;p=linux.git rcu: Use bool type for return value in rcu_is_watching() Use a bool type for return in rcu_is_watching(). Signed-off-by: Pranith Kumar Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 4b526ca46801..253ea55dc508 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -819,7 +819,7 @@ bool notrace __rcu_is_watching(void) */ bool notrace rcu_is_watching(void) { - int ret; + bool ret; preempt_disable(); ret = __rcu_is_watching();