]> err.no Git - linux-2.6/commitdiff
SELinux: context.h whitespace, syntax, and other cleanups
authorEric Paris <eparis@redhat.com>
Tue, 22 Apr 2008 21:46:13 +0000 (17:46 -0400)
committerJames Morris <jmorris@namei.org>
Sun, 27 Apr 2008 23:29:03 +0000 (09:29 +1000)
This patch changes context.h to fix whitespace and syntax issues.  Things that
are fixed may include (does not not have to include)

include spaces around , in function calls

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/context.h

index 2eee0dab524d831585624f722f40e8f3e86b61a3..b9a6f7fc62fca2b0b251ccb2843f60655426c944 100644 (file)
@@ -84,9 +84,9 @@ static inline int mls_context_cmp(struct context *c1, struct context *c2)
                return 1;
 
        return ((c1->range.level[0].sens == c2->range.level[0].sens) &&
-               ebitmap_cmp(&c1->range.level[0].cat,&c2->range.level[0].cat) &&
+               ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) &&
                (c1->range.level[1].sens == c2->range.level[1].sens) &&
-               ebitmap_cmp(&c1->range.level[1].cat,&c2->range.level[1].cat));
+               ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat));
 }
 
 static inline void mls_context_destroy(struct context *c)