]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selinux: Cleanup printk logging in netlink
authorpeter enderborg <peter.enderborg@sony.com>
Tue, 12 Jun 2018 08:09:07 +0000 (10:09 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 19 Jun 2018 17:33:05 +0000 (13:33 -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/netlink.c

index 828fb6a4e9410e6a0bae91c2126a7645db4f4daa..8a8a7250743769a55cdb7750930aeaf2eb6550ec 100644 (file)
@@ -94,7 +94,7 @@ out:
 out_kfree_skb:
        kfree_skb(skb);
 oom:
-       printk(KERN_ERR "SELinux:  OOM in %s\n", __func__);
+       pr_err("SELinux:  OOM in %s\n", __func__);
        goto out;
 }