From 3f7216ce2a4292a207313f487bd6b7e7b5b7e351 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 11 Mar 2019 03:50:11 +0000 Subject: [PATCH] fcst: Fix multiple checkpatch warnings This patch does not change any functionality. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8049 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 4 ++-- fcst/ft_io.c | 11 ++++------- fcst/ft_sess.c | 4 ++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index 92eb069e3..36eb36450 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -259,8 +259,8 @@ int ft_send_response(struct scst_cmd *cmd) error = FCST_INJ_SEND_ERR(lport->tt.seq_send(lport, fcmd->seq, fp)); #endif if (error < 0) { - pr_err("Sending response for exchange with OX_ID %#x and RX_ID" - " %#x failed: %d\n", ep->oxid, ep->rxid, error); + pr_err("Sending response for exchange with OX_ID %#x and RX_ID %#x failed: %d\n", + ep->oxid, ep->rxid, error); error = error == -ENOMEM ? SCST_TGT_RES_QUEUE_FULL : SCST_TGT_RES_FATAL_ERROR; goto err; diff --git a/fcst/ft_io.c b/fcst/ft_io.c index a2f0bc2fb..1ab44f4e5 100644 --- a/fcst/ft_io.c +++ b/fcst/ft_io.c @@ -110,8 +110,7 @@ int ft_send_read_data(struct scst_cmd *cmd) while (remaining) { if (!loop_limit) { - FT_ERR("hit loop limit. remaining %zx mem_len %zx " - "frame_len %zx tlen %zx\n", + FT_ERR("hit loop limit. remaining %zx mem_len %zx frame_len %zx tlen %zx\n", remaining, mem_len, frame_len, tlen); break; } @@ -130,8 +129,7 @@ int ft_send_read_data(struct scst_cmd *cmd) frame_len = min(frame_len, remaining); fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); if (!fp) { - FT_IO_DBG("frame_alloc failed. " - "use_sg %d frame_len %zd\n", + FT_IO_DBG("frame_alloc failed. use_sg %d frame_len %zd\n", use_sg, frame_len); break; } @@ -186,9 +184,8 @@ int ft_send_read_data(struct scst_cmd *cmd) fp)); #endif if (error) { - pr_warn("Sending frame with oid %#x oxid %#x resp_len" - " %d failed at frame_off %u / remaining %zu" - " with error code %d - %s", ep->oid, ep->oxid, + pr_warn("Sending frame with oid %#x oxid %#x resp_len %d failed at frame_off %u / remaining %zu with error code %d - %s", + ep->oid, ep->oxid, scst_cmd_get_resp_data_len(cmd), frame_off, remaining, error, error == -ENOMEM ? "retrying" : "giving up"); diff --git a/fcst/ft_sess.c b/fcst/ft_sess.c index 7486d1327..0419b53df 100644 --- a/fcst/ft_sess.c +++ b/fcst/ft_sess.c @@ -406,8 +406,8 @@ static int ft_prli_locked(struct fc_rport_priv *rdata, u32 spp_len, return FC_SPP_RESP_CONF; } if (!tport->enabled) { - pr_err("Refused login from %#x because target port %s" - " not yet enabled", rdata->ids.port_id, + pr_err("Refused login from %#x because target port %s not yet enabled", + rdata->ids.port_id, tport->tgt->tgt_name); return FC_SPP_RESP_CONF; }