[PATCH 1/7] security: apparmor: apparmorfs.c Multiple blank lines

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


Make style modifications for:
CHECK: Please don't use multiple blank lines

Signed-off-by: Walt Feasel <waltfeasel at gmail.com>
---
 security/apparmor/apparmorfs.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 5923d56..62aac35 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -112,7 +112,6 @@ static char *aa_simple_write_to_buffer(int op, const char __user *userbuf,
 	return data;
 }
 
-
 /* .load file hook fn to load policy */
 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size,
 			    loff_t *pos)
@@ -552,7 +551,6 @@ int __aa_fs_namespace_mkdir(struct aa_namespace *ns, struct dentry *parent,
 	return error;
 }
 
-
 #define list_entry_is_head(pos, head, member) (&pos->member == (head))
 
 /**
@@ -687,7 +685,6 @@ static void *p_start(struct seq_file *f, loff_t *pos)
 	loff_t l = *pos;
 	f->private = aa_get_namespace(root);
 
-
 	/* find the first profile */
 	mutex_lock(&root->lock);
 	profile = __first_profile(root, root);
@@ -782,7 +779,6 @@ static const struct file_operations aa_fs_profiles_fops = {
 	.release = profiles_release,
 };
 
-
 /** Base file system setup **/
 static struct aa_fs_entry aa_fs_entry_file[] = {
 	AA_FS_FILE_STRING("mask", "create read write exec append mmap_exec " \
-- 
2.1.4




More information about the Kernelnewbies mailing list