Skip to contentSkip to conversation

Staging: lustre: lnet: klnds: socklnd: Missing a blank line after declarations

PATCH In review Hatice ERTÜRK 2 participants 2 messages Oct 5, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: lnet: klnds: socklnd: Missing a blank line after declarations

This patch fixes these warning messages found by checkpatch.pl:
WARNING : Missing a blank line after declarations.

---
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c +2 -0
index 904d158..1b472f4 100644
@@ -2440,6 +2440,7 @@ ksocknal_base_startup(void)
 
 	for (i = 0; i < *ksocknal_tunables.ksnd_nconnds; i++) {
 		char name[16];
+
 		spin_lock_bh(&ksocknal_data.ksnd_connd_lock);
 		ksocknal_data.ksnd_connd_starting++;
 		spin_unlock_bh(&ksocknal_data.ksnd_connd_lock);
@@ -2705,6 +2706,7 @@ ksocknal_start_schedulers(struct ksock_sched_info *info)
 		long id;
 		char name[20];
 		ksock_sched_t *sched;
+
 		id = KSOCK_THREAD_ID(info->ksi_cpt, info->ksi_nthreads + i);
 		sched = &info->ksi_scheds[KSOCK_THREAD_SID(id)];
 		snprintf(name, sizeof(name), "socknal_sd%02d_%02d",
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Hatice ERTÜRK

This patch fixes these warning messages found by checkpatch.pl:
WARNING : Missing a blank line after declarations.

A better subject would be "Add blank line after a declaration. Problem found using checkpatch." That would make more explicit what you did.

julia

Quoted 36 lines
---
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c +2 -1
index 904d158..1b472f4 100644
@@ -2440,6 +2440,7 @@ ksocknal_base_startup(void)
 
 	for (i = 0; i < *ksocknal_tunables.ksnd_nconnds; i++) {
 		char name[16];
+
 		spin_lock_bh(&ksocknal_data.ksnd_connd_lock);
 		ksocknal_data.ksnd_connd_starting++;
 		spin_unlock_bh(&ksocknal_data.ksnd_connd_lock);
@@ -2705,6 +2706,7 @@ ksocknal_start_schedulers(struct ksock_sched_info *info)
 		long id;
 		char name[20];
 		ksock_sched_t *sched;
+
 		id = KSOCK_THREAD_ID(info->ksi_cpt, info->ksi_nthreads + i);
 		sched = &info->ksi_scheds[KSOCK_THREAD_SID(id)];
 		snprintf(name, sizeof(name), "socknal_sd%02d_%02d",
--

1.9.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1444066940-6921-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.