summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-09 16:51:17 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-27 12:59:02 -0700
commit3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec (patch)
tree2d4857df44b8b855ae57741b870afbba5183b405 /lib/Kconfig.debug
parenteab128e8305f2bc4c91406031aab26d86fecced6 (diff)
downloadop-kernel-dev-3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec.zip
op-kernel-dev-3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec.tar.gz
rcu: Shut up spurious gcc uninitialized-variable warning
Because gcc doesn't realize that rcu_num_lvls must be strictly greater than zero, some versions give a spurious warning about levelcnt[0] being uninitialized in rcu_init_one(). This commit updates the condition on the pre-existing panic() in order to educate gcc on this point. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud