Blame SOURCES/0077-scsi-scsi-qla2xxx-Update-two-source-code-comments.patch

3c6e85
From 99897294c4e617c6751e49a60074f9ead2517ef1 Mon Sep 17 00:00:00 2001
3c6e85
From: Himanshu Madhani <hmadhani@redhat.com>
3c6e85
Date: Thu, 1 Aug 2019 15:55:37 -0400
3c6e85
Subject: [PATCH 077/124] [scsi] scsi: qla2xxx: Update two source code comments
3c6e85
3c6e85
Message-id: <20190801155618.12650-78-hmadhani@redhat.com>
3c6e85
Patchwork-id: 267853
3c6e85
O-Subject: [RHEL 7.8 e-stor PATCH 077/118] scsi: qla2xxx: Update two source code comments
3c6e85
Bugzilla: 1729270
3c6e85
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
3c6e85
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
3c6e85
3c6e85
From: Bart Van Assche <bvanassche@acm.org>
3c6e85
3c6e85
Bugzilla 1729270
3c6e85
3c6e85
Change one occurrence of "*(" into "()" and change one occurrence of
3c6e85
"lcoate" into "locate". Fix the reference to qla_tgt_handle_cmd_for_atio():
3c6e85
there has never been a function with that name.
3c6e85
3c6e85
Cc: Himanshu Madhani <hmadhani@marvell.com>
3c6e85
Cc: Giridhar Malavali <gmalavali@marvell.com>
3c6e85
Fixes: 75f8c1f693ee ("[SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core") # v3.5.
3c6e85
Fixes: 2d70c103fd2a ("[SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series") # v3.5.
3c6e85
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
3c6e85
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
3c6e85
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
3c6e85
(cherry picked from commit 67eb4a60782a0e1142a3789fbb49617bbbe32796)
3c6e85
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
3c6e85
Signed-off-by: Jan Stancek <jstancek@redhat.com>
3c6e85
---
3c6e85
 drivers/scsi/qla2xxx/qla_target.c  | 2 +-
3c6e85
 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +-
3c6e85
 2 files changed, 2 insertions(+), 2 deletions(-)
3c6e85
3c6e85
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
3c6e85
index a7ded20abf14..308aa315f099 100644
3c6e85
--- a/drivers/scsi/qla2xxx/qla_target.c
3c6e85
+++ b/drivers/scsi/qla2xxx/qla_target.c
3c6e85
@@ -4243,7 +4243,7 @@ static void __qlt_do_work(struct qla_tgt_cmd *cmd)
3c6e85
 	if (ret != 0)
3c6e85
 		goto out_term;
3c6e85
 	/*
3c6e85
-	 * Drop extra session reference from qla_tgt_handle_cmd_for_atio*(
3c6e85
+	 * Drop extra session reference from qlt_handle_cmd_for_atio().
3c6e85
 	 */
3c6e85
 	spin_lock_irqsave(&ha->tgt.sess_lock, flags);
3c6e85
 	ha->tgt.tgt_ops->put_sess(sess);
3c6e85
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
3c6e85
index d61d02cd3f86..1122340cc2ac 100644
3c6e85
--- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c
3c6e85
+++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
3c6e85
@@ -1503,7 +1503,7 @@ static int tcm_qla2xxx_check_initiator_node_acl(
3c6e85
 	 */
3c6e85
 	tpg = lport->tpg_1;
3c6e85
 	if (!tpg) {
3c6e85
-		pr_err("Unable to lcoate struct tcm_qla2xxx_lport->tpg_1\n");
3c6e85
+		pr_err("Unable to locate struct tcm_qla2xxx_lport->tpg_1\n");
3c6e85
 		return -EINVAL;
3c6e85
 	}
3c6e85
 	se_tpg = &tpg->se_tpg;
3c6e85
-- 
3c6e85
2.13.6
3c6e85