Skip to contentSkip to conversation

Staging: lustre: Add blank line after declarations

PATCH Superseded Dilek Uzulmez 2 participants 2 messages Feb 28, 2015 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: Add blank line after declarations

The following patch fixes the checkpatch.pl warning:
drivers/staging/lustre/lustre/ptlrpc/service.c WARNING: Missing a blank line after declarations

---
 drivers/staging/lustre/lustre/ptlrpc/service.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/staging/lustre/lustre/ptlrpc/service.c +3 -0
index 635b12b..03aef96 100644
@@ -1633,6 +1633,7 @@ static bool ptlrpc_server_allow_normal(struct ptlrpc_service_part *svcpt,
 				       bool force)
 {
 	int running = svcpt->scp_nthrs_running;
+
 	if (unlikely(svcpt->scp_service->srv_req_portal == MDS_REQUEST_PORTAL &&
 		     CFS_FAIL_PRECHECK(OBD_FAIL_PTLRPC_CANCEL_RESEND))) {
 		/* leave just 1 thread for normal RPCs */
@@ -1998,6 +1999,7 @@ put_conn:
 	if (likely(svc->srv_stats != NULL && request->rq_reqmsg != NULL)) {
 		__u32 op = lustre_msg_get_opc(request->rq_reqmsg);
 		int opc = opcode_offset(op);
+
 		if (opc > 0 && !(op == LDLM_ENQUEUE || op == MDS_REINT)) {
 			LASSERT(opc < LUSTRE_MAX_OPCODES);
 			lprocfs_counter_add(svc->srv_stats,
@@ -2533,6 +2535,7 @@ static int ptlrpc_start_hr_threads(void)
 
 		for (j = 0; j < hrp->hrp_nthrs; j++) {
 			struct	ptlrpc_hr_thread *hrt = &hrp->hrp_thrs[j];
+
 			rc = PTR_ERR(kthread_run(ptlrpc_hr_main,
 						 &hrp->hrp_thrs[j],
 						 "ptlrpc_hr%02d_%03d",
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 8 lines · Dilek Uzulmez

The following patch fixes the checkpatch.pl warning:
drivers/staging/lustre/lustre/ptlrpc/service.c WARNING: Missing a blank line after declarations

---
 drivers/staging/lustre/lustre/ptlrpc/service.c | 3 +++
 1 file changed, 3 insertions(+)

You sent 7 patches all with the same subject, yet they do different things. Can you please fix this and resend makeing the subjects unique?

thanks,

greg k-h