]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu: Use bitwise instead of arithmetic operator for flags
authorHongbo Li <lihongbo22@huawei.com>
Fri, 23 Aug 2024 09:21:58 +0000 (17:21 +0800)
committerFrederic Weisbecker <frederic@kernel.org>
Tue, 12 Nov 2024 20:40:53 +0000 (21:40 +0100)
commitc32912069654f7bf4352f51c9e6386de71b10b62
tree31f3e02d48f0c8ca7382b283b38182f3923fcbf8
parent4a09e358922381f9b258e863bcd9c910584203b9
rcu: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:
  WARNING: sum of probable bitmasks, consider |

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/rcu/tree_plugin.h