aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2025-01-14 05:05:37 +0000
committerBoqun Feng <[email protected]>2025-02-05 15:12:05 +0000
commitdfe442c943b7ab86f3eb2228e32179bda1402e96 (patch)
tree166ceb3b1deed01bd291cee74dfd992dc7311a6f /scripts/rustdoc_test_gen.rs
parentrcutorture: Make scenario SRCU-P use srcu_read_lock_fast() (diff)
downloadkernel-dfe442c943b7ab86f3eb2228e32179bda1402e96.tar.gz
kernel-dfe442c943b7ab86f3eb2228e32179bda1402e96.zip
srcu: Fix srcu_read_unlock_{lite,nmisafe}() kernel-doc
The srcu_read_unlock_lite() and srcu_read_unlock_nmisafe() both say that their idx parameters must come from srcu_read_lock(). This would be bad, because a given srcu_struct structure may be used only with one flavor of SRCU reader. This commit therefore updates the srcu_read_unlock_lite() kernel-doc header to say that its idx parameter must be obtained from srcu_read_lock_lite() and the srcu_read_unlock_nmisafe() kernel-doc header to say that its idx parameter must be obtained from srcu_read_lock_nmisafe(). Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions