Tag: f6f7ee9af7554e4d167ccd0ffe7cb8da0aa954f9

rcu: Fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> 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 Signed-off-by: Paul E. McKenney — kernel/rcu/tree.c | 2 +- 1 file changed, 1 insertion(+), …

Continue reading