security/device_cgroup: Fix RCU_LOCKDEP_WARN() condition
f78f5b90 ("rcu: Rename rcu_lockdep_assert() to RCU_LOCKDEP_WARN()") introduced a bug by incorrectly inverting the condition when moving from rcu_lockdep_assert() to RCU_LOCKDEP_WARN(). This commit therefore fixes the inversion. Reported-by: NFelipe Balbi <balbi@ti.com> Reported-by: NTejun Heo <tj@kernel.org> Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: NSerge Hallyn <serge.hallyn@canonical.com> Tested-by: NJosh Boyer <jwboyer@fedoraproject.org>
Showing
想要评论请 注册 或 登录