diff options
author | peter enderborg <peter.enderborg@sony.com> | 2018-06-12 10:09:11 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-06-19 13:47:13 -0400 |
commit | 07c81ac2adccbdfe8cc48fe4ad347cd37520c504 (patch) | |
tree | b18e1b55a8a86ae0aaeddd24e65f8636ce8fdb67 /security | |
parent | 0d3a115429e98997b6d12cbd0670059501f4ce71 (diff) | |
download | linux-07c81ac2adccbdfe8cc48fe4ad347cd37520c504.tar.gz linux-07c81ac2adccbdfe8cc48fe4ad347cd37520c504.tar.bz2 linux-07c81ac2adccbdfe8cc48fe4ad347cd37520c504.zip |
selinux: Cleanup printk logging in avc
Replace printk with pr_* to avoid checkpatch warnings.
Signed-off-by: Peter Enderborg <peter.enderborg@sony.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index f3aedf077509..635e5c1e3e48 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -650,7 +650,7 @@ static int avc_latest_notif_update(struct selinux_avc *avc, spin_lock_irqsave(¬if_lock, flag); if (is_insert) { if (seqno < avc->avc_cache.latest_notif) { - printk(KERN_WARNING "SELinux: avc: seqno %d < latest_notif %d\n", + pr_warn("SELinux: avc: seqno %d < latest_notif %d\n", seqno, avc->avc_cache.latest_notif); ret = -EAGAIN; } |