]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Fix typo in qla2xxx files
authorMasanari Iida <standby24x7@gmail.com>
Thu, 12 Apr 2012 20:54:32 +0000 (15:54 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 23 Jul 2012 08:02:44 +0000 (01:02 -0700)
Correct spelling typo within qla2xxx files.

JIRA Key: V2632FC-197

drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_fw.h
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_os.c

index ef553fcbdbbf4e73790e321d2029ea0778eaa85a..f4c7a4578dd88ef6ad84f91a183ef5edaa60b53e 100644 (file)
@@ -2290,7 +2290,7 @@ ql_dbg(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...)
 
 /*
  * This function is for formatting and logging debug information.
- * It is to be used when vha is not available and pci is availble,
+ * It is to be used when vha is not available and pci is available,
  * i.e., before host allocation. It formats the message and logs it
  * to the messages file.
  * parameters:
@@ -2385,7 +2385,7 @@ ql_log(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...)
 
 /*
  * This function is for formatting and logging log messages.
- * It is to be used when vha is not available and pci is availble,
+ * It is to be used when vha is not available and pci is available,
  * i.e., before host allocation. It formats the message and logs
  * it to the messages file. All the messages are logged irrespective
  * of the value of ql2xextended_error_logging.
index 6d7d7758c797978bad64cc2fbcb5883a825b39fd..980b5a7d64719f81085aff2ae8462233419a2aa2 100644 (file)
@@ -1130,7 +1130,7 @@ struct mid_db_entry_24xx {
 /*
  * Virtual Port Control IOCB
  */
-#define VP_CTRL_IOCB_TYPE      0x30    /* Vitual Port Control entry. */
+#define VP_CTRL_IOCB_TYPE      0x30    /* Virtual Port Control entry. */
 struct vp_ctrl_entry_24xx {
        uint8_t entry_type;             /* Entry type. */
        uint8_t entry_count;            /* Entry count. */
@@ -1166,7 +1166,7 @@ struct vp_ctrl_entry_24xx {
 /*
  * Modify Virtual Port Configuration IOCB
  */
-#define VP_CONFIG_IOCB_TYPE    0x31    /* Vitual Port Config entry. */
+#define VP_CONFIG_IOCB_TYPE    0x31    /* Virtual Port Config entry. */
 struct vp_config_entry_24xx {
        uint8_t entry_type;             /* Entry type. */
        uint8_t entry_count;            /* Entry count. */
index 8dcc60b55297625a4f0f818b642f30962cb50cbc..9e43e93c806d11a6e7cd43fb224f0099c00b9a15 100644 (file)
@@ -1834,7 +1834,7 @@ qla2x00_alloc_iocbs(scsi_qla_host_t *vha, srb_t *sp)
        }
        if (index == MAX_OUTSTANDING_COMMANDS) {
                ql_log(ql_log_warn, vha, 0x700b,
-                   "No room on oustanding cmd array.\n");
+                   "No room on outstanding cmd array.\n");
                goto queuing_error;
        }
 
index 1eb7d3e304706fb126027d7e0103727f0b45ed42..8364659c9150f94b02809a7ac3fdd9528a9528cb 100644 (file)
@@ -1401,7 +1401,7 @@ qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len,
 
 struct scsi_dif_tuple {
        __be16 guard;       /* Checksum */
-       __be16 app_tag;         /* APPL identifer */
+       __be16 app_tag;         /* APPL identifier */
        __be32 ref_tag;         /* Target LBA or indirect LBA */
 };
 
index efb3cc3d6793c19bd58bf5825a7b5edc4eeac3b3..39103730c0d9235c56e1d6bab9012fbe943be863 100644 (file)
@@ -635,7 +635,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,
                        &req->dma, GFP_KERNEL);
        if (req->ring == NULL) {
                ql_log(ql_log_fatal, base_vha, 0x00da,
-                   "Failed to allocte memory for request_ring.\n");
+                   "Failed to allocate memory for request_ring.\n");
                goto que_failed;
        }
 
index 0a5a1c1bcf5f56cd25c6b924482bfb1256f3e50f..22081da9fe2239039851f9aeb9d6e59292348ddd 100644 (file)
@@ -4037,7 +4037,7 @@ qla82xx_minidump_process_rdmem(scsi_qla_host_t *vha,
 
        if (r_addr & 0xf) {
                ql_log(ql_log_warn, vha, 0xb033,
-                   "Read addr 0x%x not 16 bytes alligned\n", r_addr);
+                   "Read addr 0x%x not 16 bytes aligned\n", r_addr);
                return rval;
        }
 
index d897b3ad34f3f2d936d626716070870e80d43050..0f913fc5affb71077ab5d6b78846cf92c50bc3a1 100644 (file)
@@ -1069,7 +1069,7 @@ __qla2xxx_eh_generic_reset(char *name, enum nexus_wait_type type,
        if (qla2x00_eh_wait_for_pending_commands(vha, cmd->device->id,
            cmd->device->lun, type) != QLA_SUCCESS) {
                ql_log(ql_log_warn, vha, 0x800d,
-                   "wait for peding cmds failed for cmd=%p.\n", cmd);
+                   "wait for pending cmds failed for cmd=%p.\n", cmd);
                goto eh_reset_failed;
        }
 
@@ -1168,7 +1168,7 @@ qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd)
 eh_bus_reset_done:
        ql_log(ql_log_warn, vha, 0x802b,
            "BUS RESET %s nexus=%ld:%d:%d.\n",
-           (ret == FAILED) ? "FAILED" : "SUCCEDED", vha->host_no, id, lun);
+           (ret == FAILED) ? "FAILED" : "SUCCEEDED", vha->host_no, id, lun);
 
        return ret;
 }