security: code cleanup
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Mar 2008 23:05:08 +0000 (10:05 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 10:26:08 +0000 (20:26 +1000)
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>
security/selinux/hooks.c

index 74bb74b..973e31e 100644 (file)
@@ -2671,7 +2671,7 @@ static void selinux_inode_post_setxattr(struct dentry *dentry, char *name,
        rc = security_context_to_sid(value, size, &newsid);
        if (rc) {
                printk(KERN_WARNING "%s:  unable to obtain SID for context "
-                      "%s, rc=%d\n", __func__, (char*)value, -rc);
+                      "%s, rc=%d\n", __func__, (char *)value, -rc);
                return;
        }