rcu: Fix uninitialized variable in nocb_gp_wait()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 23 Sep 2019 14:26:34 +0000 (17:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jan 2020 09:01:05 +0000 (10:01 +0100)
commite4e32af72d0cd26d1ca291a85b6e5e6e7b0dd576
treeeb5215951577374f1fc7de3f811f87d27cb8848d
parent220ba320861c7368159b5c80b7dc7418e4ea5d8b
rcu: Fix uninitialized variable in nocb_gp_wait()

[ Upstream commit b8889c9c89a2655a231dfed93cc9bdca0930ea67 ]

We never set this to false.  This probably doesn't affect most people's
runtime because GCC will automatically initialize it to false at certain
common optimization levels.  But that behavior is related to a bug in
GCC and obviously should not be relied on.

Fixes: 5d6742b37727 ("rcu/nocb: Use rcu_segcblist for no-CBs CPUs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/rcu/tree_plugin.h