[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211216091057.28675-1-jiapeng.chong@linux.alibaba.com>
Date: Thu, 16 Dec 2021 17:10:57 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: paulmck@...nel.org
Cc: frederic@...nel.org, quic_neeraju@...cinc.com,
josh@...htriplett.org, rostedt@...dmis.org,
mathieu.desnoyers@...icios.com, jiangshanlai@...il.com,
joel@...lfernandes.org, rcu@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] 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 <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
kernel/rcu/tree_nocb.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/rcu/tree_nocb.h b/kernel/rcu/tree_nocb.h
index dd4753219dca..936badfffcee 100644
--- a/kernel/rcu/tree_nocb.h
+++ b/kernel/rcu/tree_nocb.h
@@ -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,
--
2.20.1.7.g153144c
Powered by blists - more mailing lists