浏览代码

selinux: Cleanup printk logging in netlink

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>
peter enderborg 7 年之前
父节点
当前提交
d85a78334e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      security/selinux/netlink.c

+ 1 - 1
security/selinux/netlink.c

@@ -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;
 }