Skip to content

Commit 9ead012

Browse files
committed
scsi: qla4xxx: Fix typos in comments
JIRA: https://issues.redhat.com/browse/RHEL-121669 Fix several spelling mistakes in qla4xxx driver comments: "Unfortunely" -> "Unfortunately" "becase" -> "because" "funcions" -> "functions" "targer_id" -> "target_id" Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit 987da23) Signed-off-by: Chris Leech <cleech@redhat.com>
1 parent 195b3a1 commit 9ead012

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/scsi/qla4xxx/ql4_os.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4104,7 +4104,7 @@ void qla4xxx_srb_compl(struct kref *ref)
41044104
* The mid-level driver tries to ensure that queuecommand never gets
41054105
* invoked concurrently with itself or the interrupt handler (although
41064106
* the interrupt handler may call this routine as part of request-
4107-
* completion handling). Unfortunely, it sometimes calls the scheduler
4107+
* completion handling). Unfortunately, it sometimes calls the scheduler
41084108
* in interrupt context which is a big NO! NO!.
41094109
**/
41104110
static int qla4xxx_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
@@ -4647,7 +4647,7 @@ static int qla4xxx_cmd_wait(struct scsi_qla_host *ha)
46474647
cmd = scsi_host_find_tag(ha->host, index);
46484648
/*
46494649
* We cannot just check if the index is valid,
4650-
* becase if we are run from the scsi eh, then
4650+
* because if we are run from the scsi eh, then
46514651
* the scsi/block layer is going to prevent
46524652
* the tag from being released.
46534653
*/
@@ -4952,7 +4952,7 @@ static int qla4xxx_recover_adapter(struct scsi_qla_host *ha)
49524952
/* Upon successful firmware/chip reset, re-initialize the adapter */
49534953
if (status == QLA_SUCCESS) {
49544954
/* For ISP-4xxx, force function 1 to always initialize
4955-
* before function 3 to prevent both funcions from
4955+
* before function 3 to prevent both functions from
49564956
* stepping on top of the other */
49574957
if (is_qla40XX(ha) && (ha->mac_index == 3))
49584958
ssleep(6);
@@ -6914,7 +6914,7 @@ static int qla4xxx_sess_conn_setup(struct scsi_qla_host *ha,
69146914
struct ddb_entry *ddb_entry = NULL;
69156915

69166916
/* Create session object, with INVALID_ENTRY,
6917-
* the targer_id would get set when we issue the login
6917+
* the target_id would get set when we issue the login
69186918
*/
69196919
cls_sess = iscsi_session_setup(&qla4xxx_iscsi_transport, ha->host,
69206920
cmds_max, sizeof(struct ddb_entry),

0 commit comments

Comments
 (0)