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: NJules Irenge <jbi.octave@gmail.com> Signed-off-by: NPaul E. McKenney <paulmck@kernel.org> Acked-by: NBoqun Feng <boqun.feng@gmail.com>
Showing
想要评论请 注册 或 登录