summaryrefslogtreecommitdiff
path: root/lib/test_firmware.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-06-04 17:06:01 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-17 21:58:41 (GMT)
commit13bd64947f53ba8d7199922be94b6626b8e222d7 (patch)
tree8850f4b145b481d192ec609c55d8611758e9692f /lib/test_firmware.c
parent032dfc87225c96ec1771e5967436c4b23d1dc5d6 (diff)
downloadlinux-13bd64947f53ba8d7199922be94b6626b8e222d7.tar.xz
rcu: Reset rcu_fanout_leaf if out of bounds
Currently if the rcu_fanout_leaf boot parameter is out of bounds (that is, less than RCU_FANOUT_LEAF or greater than the number of bits in an unsigned long), a warning is issued and execution continues with the out-of-bounds value. This can result in all manner of failures, so this patch resets rcu_fanout_leaf to RCU_FANOUT_LEAF when an out-of-bounds condition is detected. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions