Staging: lustre: Add blank line after declarations
PATCH 1/1 Staging: lustre: Add blank line after declarations
The following patch fixes the checkpatch.pl warning:drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c WARNING: Missing a blank line after declarations
Signed-off-by Dilek Uzulmez <[email protected]>
--- drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c +3 -0
@@ -166,6 +166,7 @@ const char *ll_opcode2str(__u32 opcode)* ptlrpc_internal.h needs to be modified. */ __u32 offset =opcode_offset (opcode); +LASSERTF (offset <LUSTRE_MAX_OPCODES ,"offset %u >= LUSTRE_MAX_OPCODES %u\n" , offset,LUSTRE_MAX_OPCODES );
@@ -239,6 +240,7 @@ static void ptlrpc_lprocfs_register(struct proc_dir_entry *root, char *dir, }for (i =0 ; i <LUSTRE_MAX_OPCODES ; i++) {__u32 opcode = ll_rpc_opcode_table[i].opcode; +lprocfs_counter_init (svc_stats,EXTRA_MAX_OPCODES + i, svc_counter_config,ll_opcode2str (opcode),"usec" );
@@ -1026,6 +1028,7 @@ LPROC_SEQ_FOPS_RO(ptlrpc_lprocfs_timeouts);static int ptlrpc_lprocfs_hp_ratio_seq_show (struct seq_file *m,void *v) {struct ptlrpc_service *svc = m->private; +return seq_printf (m,"%d" , svc->srv_hpreq_ratio); }
Signature · 1 line
1.9.1