]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
scsi: qla4xxx: Fix typos in comments
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Mon, 29 Sep 2025 09:25:54 +0000 (02:25 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Oct 2025 02:26:16 +0000 (22:26 -0400)
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>
drivers/scsi/qla4xxx/ql4_os.c

index a39f1da4ce474b8068cb63564da8db5a4c6421c9..e4ab541561d0e72ca94a6f415ac1bd9f3e59652e 100644 (file)
@@ -4104,7 +4104,7 @@ void qla4xxx_srb_compl(struct kref *ref)
  * The mid-level driver tries to ensure that queuecommand never gets
  * invoked concurrently with itself or the interrupt handler (although
  * the interrupt handler may call this routine as part of request-
- * completion handling).   Unfortunely, it sometimes calls the scheduler
+ * completion handling). Unfortunately, it sometimes calls the scheduler
  * in interrupt context which is a big NO! NO!.
  **/
 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)
                        cmd = scsi_host_find_tag(ha->host, index);
                        /*
                         * We cannot just check if the index is valid,
-                        * becase if we are run from the scsi eh, then
+                        * because if we are run from the scsi eh, then
                         * the scsi/block layer is going to prevent
                         * the tag from being released.
                         */
@@ -4952,7 +4952,7 @@ recover_ha_init_adapter:
        /* Upon successful firmware/chip reset, re-initialize the adapter */
        if (status == QLA_SUCCESS) {
                /* For ISP-4xxx, force function 1 to always initialize
-                * before function 3 to prevent both funcions from
+                * before function 3 to prevent both functions from
                 * stepping on top of the other */
                if (is_qla40XX(ha) && (ha->mac_index == 3))
                        ssleep(6);
@@ -6912,7 +6912,7 @@ static int qla4xxx_sess_conn_setup(struct scsi_qla_host *ha,
        struct ddb_entry *ddb_entry = NULL;
 
        /* Create session object, with INVALID_ENTRY,
-        * the targer_id would get set when we issue the login
+        * the target_id would get set when we issue the login
         */
        cls_sess = iscsi_session_setup(&qla4xxx_iscsi_transport, ha->host,
                                       cmds_max, sizeof(struct ddb_entry),