projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3a115
)
selinux: Cleanup printk logging in avc
author
peter enderborg
<peter.enderborg@sony.com>
Tue, 12 Jun 2018 08:09:11 +0000
(10:09 +0200)
committer
Paul Moore
<paul@paul-moore.com>
Tue, 19 Jun 2018 17:47:13 +0000
(13:47 -0400)
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>
security/selinux/avc.c
patch
|
blob
|
history
diff --git
a/security/selinux/avc.c
b/security/selinux/avc.c
index
f3aedf0
..
635e5c1
100644
(file)
--- 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) {
- pr
intk(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;
}