rcu/rcutorture: Replace 0 with false
authorJules Irenge <jbi.octave@gmail.com>
Mon, 1 Jun 2020 18:45:48 +0000 (19:45 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:44 +0000 (12:01 -0700)
commit8f43d5911b38f00dfa46169dcb1feb1e101dd906
tree853a27fb8326f22716de1a405e6d25a04f569f52
parenta3ba4972f2ef8408dcc8a2a3d433621d6c990594
rcu/rcutorture: Replace 0 with false

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 0.  This commit therefore replaces the 0 with
a false.

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