aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-03-05 18:05:08 -0500
committerJames Morris <jmorris@namei.org>2008-04-18 06:26:08 -0400
commitf0115e6c8980ea9125a17858291c90ecd990bc1c (patch)
treef9b665c465b6813c421fc60660068197d178c53a /security/selinux
parentdd6f953adb5c4deb9cd7b6a5054e7d5eafe4ed71 (diff)
security: code cleanup
ERROR: "(foo*)" should be "(foo *)" #168: FILE: security/selinux/hooks.c:2656: + "%s, rc=%d\n", __func__, (char*)value, -rc); total: 1 errors, 0 warnings, 195 lines checked ./patches/security-replace-remaining-__function__-occurences.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Harvey Harrison <harvey.harrison@gmail.com> Cc: James Morris <jmorris@namei.org> Cc: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 74bb74b4db08..973e31eb1097 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2671,7 +2671,7 @@ static void selinux_inode_post_setxattr(struct dentry *dentry, char *name,
2671 rc = security_context_to_sid(value, size, &newsid); 2671 rc = security_context_to_sid(value, size, &newsid);
2672 if (rc) { 2672 if (rc) {
2673 printk(KERN_WARNING "%s: unable to obtain SID for context " 2673 printk(KERN_WARNING "%s: unable to obtain SID for context "
2674 "%s, rc=%d\n", __func__, (char*)value, -rc); 2674 "%s, rc=%d\n", __func__, (char *)value, -rc);
2675 return; 2675 return;
2676 } 2676 }
2677 2677