Skip to contentSkip to conversation

ipc: add blank lines after declarations

PATCH New Payal Kshirsagar 1 participant 1 message Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipc: add blank lines after declarations

Fix checkpatch.pl warning by adding blank lines.

---
 ipc/compat.c     | 2 ++
 ipc/ipc_sysctl.c | 2 ++
 2 files changed, 4 insertions(+)
ipc/compat.c +2 -0
index 5ab8225923af..6c03927a4d71 100644
@@ -39,6 +39,7 @@ int get_compat_ipc64_perm(struct ipc64_perm *to,
 			  struct compat_ipc64_perm __user *from)
 {
 	struct compat_ipc64_perm v;
+
 	if (copy_from_user(&v, from, sizeof(v)))
 		return -EFAULT;
 	to->uid = v.uid;
@@ -51,6 +52,7 @@ int get_compat_ipc_perm(struct ipc64_perm *to,
 			struct compat_ipc_perm __user *from)
 {
 	struct compat_ipc_perm v;
+
 	if (copy_from_user(&v, from, sizeof(v)))
 		return -EFAULT;
 	to->uid = v.uid;
ipc/ipc_sysctl.c +2 -0
index affd66537e87..ea115dfd3774 100644
@@ -18,6 +18,7 @@ static void *get_ipc(struct ctl_table *table)
 {
 	char *which = table->data;
 	struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns;
+
 	which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns;
 	return which;
 }
@@ -62,6 +63,7 @@ static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write,
 	void __user *buffer, size_t *lenp, loff_t *ppos)
 {
 	struct ctl_table ipc_table;
+
 	memcpy(&ipc_table, table, sizeof(ipc_table));
 	ipc_table.data = get_ipc(table);
 
Signature · 1 line
2.17.1