diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-22 09:35:11 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 14:35:49 -0700 |
commit | 969974e5c51e717fc9070b00eb2f61ae589ed13d (patch) | |
tree | d39d177c68c63f46ae691b487a97113ef499133e /lib/sha1.c | |
parent | 921bb5fad11c0e8ec5f7625547552b252281f4de (diff) | |
download | linux-969974e5c51e717fc9070b00eb2f61ae589ed13d.tar.bz2 |
rcu/nocb: Suppress uninitialized false-positive in nocb_gp_wait()
Some compilers complain that wait_gp_seq might be used uninitialized
in nocb_gp_wait(). This cannot actually happen because when wait_gp_seq
is uninitialized, needwait_gp must be false, which prevents wait_gp_seq
from being used. But this analysis is apparently beyond some compilers,
so this commit adds a bogus initialization of wait_gp_seq for the sole
purpose of suppressing the false-positive warning.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions