summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney2018-11-30 19:06:46 +0100
committerPaul E. McKenney2019-01-26 00:36:40 +0100
commitc8ca1aa774b20f182733d1661f3b6aa3105338e7 (patch)
tree4bf5a3fd65d0e71fe2f1de535859dddd9c6214d7 /Documentation/RCU
parentMerge branches 'consolidate.2019.01.26a' and 'fwd.2019.01.26a' into HEAD (diff)
downloadkernel-qcow2-linux-c8ca1aa774b20f182733d1661f3b6aa3105338e7.tar.gz
kernel-qcow2-linux-c8ca1aa774b20f182733d1661f3b6aa3105338e7.tar.xz
kernel-qcow2-linux-c8ca1aa774b20f182733d1661f3b6aa3105338e7.zip
srcu: Check for invalid idx argument in srcu_read_unlock()
The current SRCU implementation has an idx argument of zero or one, and never anything else. This commit therefore adds a WARN_ON_ONCE() to complain if this restriction is violated. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions