[PATCH 5/7] security: apparmor: apparmorfs.c Align parenthesis

Walt Feasel waltfeasel at gmail.com
Sat Nov 26 03:43:23 EST 2016


Make style modifications for:
CHECK: Alignment should match open parenthesis

Signed-off-by: Walt Feasel <waltfeasel at gmail.com>
---
Swaps align for over 80 but get whole line this way

 security/apparmor/apparmorfs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index d759c78..c8142cf 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -647,8 +647,7 @@ static struct aa_profile *__next_profile(struct aa_profile *p)
 		if (!list_entry_is_head(p, &parent->base.profiles, base.list))
 			return p;
 		p = parent;
-		parent = rcu_dereference_protected(parent->parent,
-					    mutex_is_locked(&parent->ns->lock));
+		parent = rcu_dereference_protected(parent->parent, mutex_is_locked(&parent->ns->lock));
 	}
 
 	/* is next another profile in the namespace */
-- 
2.1.4




More information about the Kernelnewbies mailing list