summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorpeter enderborg <peter.enderborg@sony.com>2018-06-12 10:09:11 +0200
committerPaul Moore <paul@paul-moore.com>2018-06-19 13:47:13 -0400
commit07c81ac2adccbdfe8cc48fe4ad347cd37520c504 (patch)
treeb18e1b55a8a86ae0aaeddd24e65f8636ce8fdb67 /security/selinux
parent0d3a115429e98997b6d12cbd0670059501f4ce71 (diff)
downloadlinux-rt-07c81ac2adccbdfe8cc48fe4ad347cd37520c504.tar.gz
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/selinux')
-rw-r--r--security/selinux/avc.c2
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(&notif_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;
}