staging: lustre: Add space b/w concatenated strings
authorRehas Sachdeva <aquannie@gmail.com>
Thu, 15 Sep 2016 12:50:31 +0000 (18:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 17:28:36 +0000 (19:28 +0200)
Fixes checkpatch.pl warning:
CHECK: Concatenated strings should use spaces between elements

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/fid/fid_request.c
drivers/staging/lustre/lustre/fid/lproc_fid.c

index 454744d..edd72b9 100644 (file)
@@ -125,19 +125,19 @@ static int seq_client_rpc(struct lu_client_seq *seq,
 
        if (!range_is_sane(output)) {
                CERROR("%s: Invalid range received from server: "
-                      DRANGE"\n", seq->lcs_name, PRANGE(output));
+                      DRANGE "\n", seq->lcs_name, PRANGE(output));
                rc = -EINVAL;
                goto out_req;
        }
 
        if (range_is_exhausted(output)) {
                CERROR("%s: Range received from server is exhausted: "
-                      DRANGE"]\n", seq->lcs_name, PRANGE(output));
+                      DRANGE "]\n", seq->lcs_name, PRANGE(output));
                rc = -EINVAL;
                goto out_req;
        }
 
-       CDEBUG_LIMIT(debug_mask, "%s: Allocated %s-sequence "DRANGE"]\n",
+       CDEBUG_LIMIT(debug_mask, "%s: Allocated %s-sequence " DRANGE "]\n",
                     seq->lcs_name, opcname, PRANGE(output));
 
 out_req:
@@ -179,7 +179,7 @@ static int seq_client_alloc_seq(const struct lu_env *env,
                               seq->lcs_name, rc);
                        return rc;
                }
-               CDEBUG(D_INFO, "%s: New range - "DRANGE"\n",
+               CDEBUG(D_INFO, "%s: New range - " DRANGE "\n",
                       seq->lcs_name, PRANGE(&seq->lcs_space));
        } else {
                rc = 0;
index 81b7ca9..3ed32d7 100644 (file)
@@ -105,7 +105,7 @@ ldebugfs_fid_space_seq_write(struct file *file,
        rc = ldebugfs_fid_write_common(buffer, count, &seq->lcs_space);
 
        if (rc == 0) {
-               CDEBUG(D_INFO, "%s: Space: "DRANGE"\n",
+               CDEBUG(D_INFO, "%s: Space: " DRANGE "\n",
                       seq->lcs_name, PRANGE(&seq->lcs_space));
        }