rcu/nocb: clean up some inconsistent indenting
PATCH 1/1 rcu/nocb: clean up some inconsistent indenting
Eliminate the follow smatch warning:
kernel/rcu/tree_nocb.h:1262 rcu_spawn_cpu_nocb_kthread() warn:
inconsistent indenting.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- kernel/rcu/tree_nocb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/rcu/tree_nocb.h +2 -1
@@ -1259,7 +1259,8 @@ static void rcu_spawn_cpu_nocb_kthread(int cpu) }WRITE_ONCE (rdp_gp->nocb_gp_kthread, t); } -mutex_unlock (&rdp_gp->nocb_gp_kthread_mutex); + +mutex_unlock (&rdp_gp->nocb_gp_kthread_mutex);/* Spawn the kthread for this CPU. */ t = kthread_run(rcu_nocb_cb_kthread, rdp,
Signature · 1 line
2.20.1.7.g153144c
Paul E. McKenney
maintainerQuoted 7 lines · Jiapeng Chong
Eliminate the follow smatch warning:
kernel/rcu/tree_nocb.h:1262rcu_spawn_cpu_nocb_kthread()warn:
inconsistent indenting.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Good catch, but kernel test robot beat you to it:
7512661668d7 ("rcu/nocb: Handle concurrent nocb kthreads creation")
Thanx, Paul
Quoted 21 lines
--- kernel/rcu/tree_nocb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)kernel/rcu/tree_nocb.h +2
-1@@ -1259,7 +1259,8 @@ static void rcu_spawn_cpu_nocb_kthread(int cpu) }WRITE_ONCE (rdp_gp->nocb_gp_kthread, t); } -mutex_unlock (&rdp_gp->nocb_gp_kthread_mutex); + +mutex_unlock (&rdp_gp->nocb_gp_kthread_mutex);/* Spawn the kthread for this CPU. */ t = kthread_run(rcu_nocb_cb_kthread, rdp,Signature · 1 line
2.20.1.7.g153144c