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-Url: https://git.stricted.de/?a=commitdiff_plain;h=f534ed1fd71cea885a59255d9b44c3b17df03eb1;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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();