Staging: lustre: lustre: ldlm: Concatenate strings into single string
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Sat, 28 Feb 2015 19:33:47 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:44:34 +0000 (16:44 -0800)
This patch concatenate two consecutive strings into one, addressing checkpatch.pl warning:
 "Consecutive strings are generally better as a single string"

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c

index d20d277dc2f7648a99640ce7d8a8fc6c4dd87836..7574502919ca17e0f50e0a749728e67732939d45 100644 (file)
@@ -689,8 +689,8 @@ static int lprocfs_pool_state_seq_show(struct seq_file *m, void *unused)
                              "  GP:  %d\n",
                              grant_step, grant_plan);
        }
-       seq_printf(m, "  GR:  %d\n" "  CR:  %d\n" "  GS:  %d\n"
-                     "  G:   %d\n" "  L:   %d\n",
+       seq_printf(m, "  GR:  %d\n  CR:  %d\n  GS:  %d\n"
+                     "  G:   %d\n  L:   %d\n",
                      grant_rate, cancel_rate, grant_speed,
                      granted, limit);
 
This page took 0.025775 seconds and 5 git commands to generate.