IB/iser: Combine substrings for three messages
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 27 Jan 2018 17:25:37 +0000 (18:25 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 28 Jan 2018 21:07:16 +0000 (14:07 -0700)
The script "checkpatch.pl" pointed information out like the following.

WARNING: quoted string split across lines

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/iser/iser_initiator.c

index 1425c49..df49c4e 100644 (file)
@@ -142,8 +142,7 @@ iser_prepare_write_cmd(struct iscsi_task *task,
                        hdr->write_va = cpu_to_be64(mem_reg->sge.addr + unsol_sz);
                }
 
-               iser_dbg("Cmd itt:%d, WRITE tags, RKEY:%#.4X "
-                        "VA:%#llX + unsol:%d\n",
+               iser_dbg("Cmd itt:%d, WRITE tags, RKEY:%#.4X VA:%#llX + unsol:%d\n",
                         task->itt, mem_reg->rkey,
                         (unsigned long long)mem_reg->sge.addr, unsol_sz);
        }
@@ -473,8 +472,7 @@ int iser_send_data_out(struct iscsi_conn *conn,
        tx_desc->num_sge = 2;
 
        if (buf_offset + data_seg_len > iser_task->data[ISER_DIR_OUT].data_len) {
-               iser_err("Offset:%ld & DSL:%ld in Data-Out "
-                        "inconsistent with total len:%ld, itt:%d\n",
+               iser_err("Offset:%ld & DSL:%ld in Data-Out inconsistent with total len:%ld, itt:%d\n",
                         buf_offset, data_seg_len,
                         iser_task->data[ISER_DIR_OUT].data_len, itt);
                err = -EINVAL;
@@ -612,8 +610,8 @@ iser_check_remote_inv(struct iser_conn *iser_conn,
                         iser_conn, rkey);
 
                if (unlikely(!iser_conn->snd_w_inv)) {
-                       iser_err("conn %p: unexpected remote invalidation, "
-                                "terminating connection\n", iser_conn);
+                       iser_err("conn %p: unexpected remote invalidation, terminating connection\n",
+                                iser_conn);
                        return -EPROTO;
                }