summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_util.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-05-22 09:35:11 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-13 14:35:49 -0700
commit969974e5c51e717fc9070b00eb2f61ae589ed13d (patch)
treed39d177c68c63f46ae691b487a97113ef499133e /include/drm/drm_util.h
parent921bb5fad11c0e8ec5f7625547552b252281f4de (diff)
downloadlinux-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 'include/drm/drm_util.h')
0 files changed, 0 insertions, 0 deletions