X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=security%2Fdevice_cgroup.c;h=03c1652c9a1f593669b6d9e3a0bd2e65e47da239;hb=978ab6a009e6691375a0b6f8a44ebbb471a64b6d;hp=73455089feef3a11af0d88880fa6423070c50ea5;hpb=f0c032d81f58c99b63a6e57cf883e923db910928;p=karo-tx-linux.git diff --git a/security/device_cgroup.c b/security/device_cgroup.c index 73455089feef..03c1652c9a1f 100644 --- a/security/device_cgroup.c +++ b/security/device_cgroup.c @@ -401,7 +401,7 @@ static bool verify_new_ex(struct dev_cgroup *dev_cgroup, bool match = false; RCU_LOCKDEP_WARN(!rcu_read_lock_held() && - lockdep_is_held(&devcgroup_mutex), + !lockdep_is_held(&devcgroup_mutex), "device_cgroup:verify_new_ex called without proper synchronization"); if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) {