Commit 67eb4a60 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: qla2xxx: Update two source code comments

Change one occurrence of "*(" into "()" and change one occurrence of
"lcoate" into "locate". Fix the reference to qla_tgt_handle_cmd_for_atio():
there has never been a function with that name.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Fixes: 75f8c1f6 ("[SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core") # v3.5.
Fixes: 2d70c103 ("[SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series") # v3.5.
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Acked-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 395b9bca
...@@ -4246,7 +4246,7 @@ static void __qlt_do_work(struct qla_tgt_cmd *cmd) ...@@ -4246,7 +4246,7 @@ static void __qlt_do_work(struct qla_tgt_cmd *cmd)
if (ret != 0) if (ret != 0)
goto out_term; goto out_term;
/* /*
* Drop extra session reference from qla_tgt_handle_cmd_for_atio*( * Drop extra session reference from qlt_handle_cmd_for_atio().
*/ */
spin_lock_irqsave(&ha->tgt.sess_lock, flags); spin_lock_irqsave(&ha->tgt.sess_lock, flags);
ha->tgt.tgt_ops->put_sess(sess); ha->tgt.tgt_ops->put_sess(sess);
......
...@@ -1481,7 +1481,7 @@ static int tcm_qla2xxx_check_initiator_node_acl( ...@@ -1481,7 +1481,7 @@ static int tcm_qla2xxx_check_initiator_node_acl(
*/ */
tpg = lport->tpg_1; tpg = lport->tpg_1;
if (!tpg) { if (!tpg) {
pr_err("Unable to lcoate struct tcm_qla2xxx_lport->tpg_1\n"); pr_err("Unable to locate struct tcm_qla2xxx_lport->tpg_1\n");
return -EINVAL; return -EINVAL;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment