rcu: Replace 1 with true
authorJules Irenge <jbi.octave@gmail.com>
Mon, 1 Jun 2020 18:45:49 +0000 (19:45 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 18:58:51 +0000 (11:58 -0700)
commite40bb921119814c6f746891af9cd37eccda616a4
treec3748526db60e21f93aae3cc8841e9eb27f38bba
parentd29e0b26b020422cc51b5b51733cc50fcf443965
rcu: Replace 1 with true

Coccinelle reports a warning

WARNING: Assignment of 0/1 to bool variable

The root cause is that the variable lastphase is a bool, but is
initialised with integer 1.  This commit therefore replaces the 1 with
a true.

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