projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b69a5
)
selinux: Cleanup printk logging in netlink
author
peter enderborg
<peter.enderborg@sony.com>
Tue, 12 Jun 2018 08:09:07 +0000
(10:09 +0200)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/security/selinux/netlink.c
b/security/selinux/netlink.c
index 828fb6a4e9410e6a0bae91c2126a7645db4f4daa..8a8a7250743769a55cdb7750930aeaf2eb6550ec 100644
(file)
--- a/
security/selinux/netlink.c
+++ b/
security/selinux/netlink.c
@@
-94,7
+94,7
@@
out:
out_kfree_skb:
kfree_skb(skb);
oom:
- pr
intk(KERN_ERR
"SELinux: OOM in %s\n", __func__);
+ pr
_err(
"SELinux: OOM in %s\n", __func__);
goto out;
}