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>
This commit is contained in:
parent
0d3a115429
commit
07c81ac2ad
|
@ -650,7 +650,7 @@ static int avc_latest_notif_update(struct selinux_avc *avc,
|
||||||
spin_lock_irqsave(¬if_lock, flag);
|
spin_lock_irqsave(¬if_lock, flag);
|
||||||
if (is_insert) {
|
if (is_insert) {
|
||||||
if (seqno < avc->avc_cache.latest_notif) {
|
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);
|
seqno, avc->avc_cache.latest_notif);
|
||||||
ret = -EAGAIN;
|
ret = -EAGAIN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue