mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-17 04:04:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue