mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [SCSI] bnx2fc: Fix debug messasges in bnx2fc_io.c
@ 2015-04-12 14:07 Masanari Iida
  2015-04-13 20:15 ` Chad Dupuis
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2015-04-12 14:07 UTC (permalink / raw)
  To: QLogic-Storage-Upstream, JBottomley, linux-scsi, linux-kernel
  Cc: Masanari Iida

The debug messages in bnx2fc_process_seq_cleanup_compl() doesn't
match its function name.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/scsi/bnx2fc/bnx2fc_io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c
index 9ecca85..1b53a68 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_io.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_io.c
@@ -1319,7 +1319,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
 	int rc = 0;
 	struct bnx2fc_rport *tgt = orig_io_req->tgt;
 
-	BNX2FC_IO_DBG(orig_io_req, "Entered process_cleanup_compl xid = 0x%x"
+	BNX2FC_IO_DBG(orig_io_req, "Entered process_seq_cleanup_compl xid = 0x%x"
 			      "cmd_type = %d\n",
 		   seq_clnp_req->xid, seq_clnp_req->cmd_type);
 
@@ -1334,7 +1334,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
 	spin_lock_bh(&tgt->tgt_lock);
 
 	if (rc)
-		printk(KERN_ERR PFX "clnup_compl: Unable to send SRR"
+		printk(KERN_ERR PFX "process_seq_clenup_compl: Unable to send SRR"
 			" IO will abort\n");
 	seq_clnp_req->cb_arg = NULL;
 	kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
-- 
2.4.0.rc0.43.gcf8a8c6


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [SCSI] bnx2fc: Fix debug messasges in bnx2fc_io.c
  2015-04-12 14:07 [PATCH] [SCSI] bnx2fc: Fix debug messasges in bnx2fc_io.c Masanari Iida
@ 2015-04-13 20:15 ` Chad Dupuis
  0 siblings, 0 replies; 2+ messages in thread
From: Chad Dupuis @ 2015-04-13 20:15 UTC (permalink / raw)
  To: Masanari Iida
  Cc: QLogic-Storage-Upstream, JBottomley, linux-scsi, linux-kernel

Looks ok.

Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>

On Sun, 12 Apr 2015, Masanari Iida wrote:

> The debug messages in bnx2fc_process_seq_cleanup_compl() doesn't
> match its function name.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> drivers/scsi/bnx2fc/bnx2fc_io.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c
> index 9ecca85..1b53a68 100644
> --- a/drivers/scsi/bnx2fc/bnx2fc_io.c
> +++ b/drivers/scsi/bnx2fc/bnx2fc_io.c
> @@ -1319,7 +1319,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
> 	int rc = 0;
> 	struct bnx2fc_rport *tgt = orig_io_req->tgt;
>
> -	BNX2FC_IO_DBG(orig_io_req, "Entered process_cleanup_compl xid = 0x%x"
> +	BNX2FC_IO_DBG(orig_io_req, "Entered process_seq_cleanup_compl xid = 0x%x"
> 			      "cmd_type = %d\n",
> 		   seq_clnp_req->xid, seq_clnp_req->cmd_type);
>
> @@ -1334,7 +1334,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnp_req,
> 	spin_lock_bh(&tgt->tgt_lock);
>
> 	if (rc)
> -		printk(KERN_ERR PFX "clnup_compl: Unable to send SRR"
> +		printk(KERN_ERR PFX "process_seq_clenup_compl: Unable to send SRR"
> 			" IO will abort\n");
> 	seq_clnp_req->cb_arg = NULL;
> 	kref_put(&orig_io_req->refcount, bnx2fc_cmd_release);
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-13 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12 14:07 [PATCH] [SCSI] bnx2fc: Fix debug messasges in bnx2fc_io.c Masanari Iida
2015-04-13 20:15 ` Chad Dupuis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®