]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rcu: Replace 1 by true
authorJules Irenge <jbi.octave@gmail.com>
Mon, 30 Mar 2020 01:24:48 +0000 (02:24 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:01:16 +0000 (11:01 -0700)
commitda44cd6c8e88b6da3d5277d0e7b0e4d38faf4532
treea9d35875e4bf3391851e528f9f926ed49a312794
parenta66dbda7893f48b97d7406ae42fa29190aa672a0
rcu: Replace 1 by true

Coccinelle reports a warning at use_softirq declaration

WARNING: Assignment of 0/1 to bool variable

The root cause is
use_softirq a variable of bool type is initialised with the integer 1
Replacing 1 with value true solve the issue.

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c