Correct spelling typo within qla2xxx files.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
 
 /*
  * 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:
 
 /*
  * 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.
 
 /*
  * 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. */
 /*
  * 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. */
 
        }
        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;
        }
 
 
 
 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 */
 };
 
 
                        &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;
        }
 
 
 
        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;
        }
 
 
        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;
        }
 
 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;
 }