diff options
| author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-22 19:35:11 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-14 00:35:49 +0300 |
| commit | 969974e5c51e717fc9070b00eb2f61ae589ed13d (patch) | |
| tree | d39d177c68c63f46ae691b487a97113ef499133e /net/lapb/lapb_in.c | |
| parent | 921bb5fad11c0e8ec5f7625547552b252281f4de (diff) | |
| download | linux-969974e5c51e717fc9070b00eb2f61ae589ed13d.tar.xz | |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
