diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-01-30 00:30:09 +0000 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:23 -0800 |
commit | 92c0b889f2ff6898710d49458b6eae1de50895c6 (patch) | |
tree | 9f476d8ad5b305c00efdc157de2484387ade21d0 /mm/mprotect.c | |
parent | 9ced454807191e44ef093aeeee68194be9ce3a1a (diff) |
rcu/nocb: Add missing annotation for rcu_nocb_bypass_unlock()
Sparse reports warning at rcu_nocb_bypass_unlock()
warning: context imbalance in rcu_nocb_bypass_unlock() - unexpected unlock
The root cause is a missing annotation of rcu_nocb_bypass_unlock()
which causes the warning.
This commit therefore adds the missing __releases(&rdp->nocb_bypass_lock)
annotation.
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions