aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/rcutorture
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2020-01-20 22:41:54 +0000
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 16:00:45 -0800
commit90ba11ba99e0a4cc75302335d10a225b27a44918 (patch)
tree47da5f48c2717088a071889d9ebddc57141d6a34 /tools/testing/selftests/rcutorture
parentrcu: Add missing annotation for exit_tasks_rcu_start() (diff)
downloadwireguard-linux-90ba11ba99e0a4cc75302335d10a225b27a44918.tar.xz
wireguard-linux-90ba11ba99e0a4cc75302335d10a225b27a44918.zip
rcu: Add missing annotation for exit_tasks_rcu_finish()
Sparse reports a warning at exit_tasks_rcu_finish(void) |warning: context imbalance in exit_tasks_rcu_finish() |- wrong count at exit To fix this, this commit adds a __releases(&tasks_rcu_exit_srcu). Given that exit_tasks_rcu_finish() does actually call __srcu_read_lock(), this not only fixes the warning but also improves on the readability of the code. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions