scsi: qla2xxx: fix a bunch of typos and spelling mistakes
authorColin Ian King <colin.king@canonical.com>
Fri, 30 Jun 2017 13:47:41 +0000 (14:47 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Jul 2017 21:12:31 +0000 (17:12 -0400)
Fix the following typos/spelling mistakes:

"attribure" -> "attribute"
"suppored" -> "supported"
"Symobilic" -> "Symbolic"
"iteself" -> "itself"
"reqeust" -> "request"
"nvme_wait_on_comand" -> "nvme_wait_on_command"
"bount" -> "bound"
"captrue_mask" -> "capture_mask"
"tempelate" -> "template"

..and also unwrap a line to fix a checkpatch warning.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_nvme.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_nx2.c

index 6dd9842..08a1feb 100644 (file)
@@ -929,7 +929,7 @@ qla2x00_alloc_sysfs_attr(scsi_qla_host_t *vha)
                            iter->name, ret);
                else
                        ql_dbg(ql_dbg_init, vha, 0x00f4,
-                           "Successfully created sysfs %s binary attribure.\n",
+                           "Successfully created sysfs %s binary attribute.\n",
                            iter->name);
        }
 }
index e093795..2ea0ef9 100644 (file)
@@ -293,7 +293,7 @@ qla2x00_process_els(struct bsg_job *bsg_job)
        if (bsg_job->request_payload.sg_cnt > 1 ||
                bsg_job->reply_payload.sg_cnt > 1) {
                ql_dbg(ql_dbg_user, vha, 0x7002,
-                   "Multiple SG's are not suppored for ELS requests, "
+                   "Multiple SG's are not supported for ELS requests, "
                    "request_sg_cnt=%x reply_sg_cnt=%x.\n",
                    bsg_job->request_payload.sg_cnt,
                    bsg_job->reply_payload.sg_cnt);
index 8a5f5ef..072ad1a 100644 (file)
@@ -4660,7 +4660,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *vha)
                        } else if (qla2x00_rsnn_nn(vha)) {
                                /* EMPTY */
                                ql_dbg(ql_dbg_disc, vha, 0x209b,
-                                   "Register Symobilic Node Name failed.\n");
+                                   "Register Symbolic Node Name failed.\n");
                                if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags))
                                        break;
                        }
index 011faa1..6c6e624 100644 (file)
@@ -432,8 +432,7 @@ qla83xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb)
                            "Register: 0x%x%x.\n", mb[7], mb[3]);
                        if (err_level == ERR_LEVEL_NON_FATAL) {
                                ql_log(ql_log_warn, vha, 0x5063,
-                                   "Not a fatal error, f/w has recovered "
-                                   "iteself.\n");
+                                   "Not a fatal error, f/w has recovered itself.\n");
                        } else if (err_level == ERR_LEVEL_RECOVERABLE_FATAL) {
                                ql_log(ql_log_fatal, vha, 0x5064,
                                    "Recoverable Fatal error: Chip reset "
index 0764b61..7c6d1a4 100644 (file)
@@ -3893,7 +3893,7 @@ qla24xx_control_vp(scsi_qla_host_t *vha, int cmd)
                rval = QLA_FUNCTION_FAILED;
        } else if (vce->comp_status != cpu_to_le16(CS_COMPLETE)) {
                ql_dbg(ql_dbg_mbx, vha, 0x10c5,
-                   "Failed to complet IOCB -- completion status (%x).\n",
+                   "Failed to complete IOCB -- completion status (%x).\n",
                    le16_to_cpu(vce->comp_status));
                rval = QLA_FUNCTION_FAILED;
        } else {
index 1da8fa8..53e58e9 100644 (file)
@@ -489,7 +489,7 @@ static int qla_nvme_post_cmd(struct nvme_fc_local_port *lport,
        struct nvme_private *priv;
 
        if (!fd) {
-               ql_log(ql_log_warn, NULL, 0x2134, "NO NVMe FCP reqeust\n");
+               ql_log(ql_log_warn, NULL, 0x2134, "NO NVMe FCP request\n");
                return rval;
        }
 
@@ -626,7 +626,7 @@ void qla_nvme_abort(struct qla_hw_data *ha, srb_t *sp)
        if (!rval) {
                if (!qla_nvme_wait_on_command(sp))
                        ql_log(ql_log_warn, NULL, 0x2112,
-                           "nvme_wait_on_comand timed out waiting on sp=%p\n",
+                           "nvme_wait_on_command timed out waiting on sp=%p\n",
                            sp);
        }
 }
index 0a1723c..a77c339 100644 (file)
@@ -782,7 +782,7 @@ qla82xx_pci_mem_write_direct(struct qla_hw_data *ha,
                (qla82xx_pci_is_same_window(ha, off + size - 1) == 0)) {
                write_unlock_irqrestore(&ha->hw_lock, flags);
                ql_log(ql_log_fatal, vha, 0xb009,
-                   "%s out of bount memory "
+                   "%s out of bound memory "
                    "access, offset is 0x%llx.\n",
                    QLA2XXX_DRIVER_NAME, off);
                return -1;
@@ -4250,7 +4250,7 @@ qla82xx_md_collect(scsi_qla_host_t *vha)
 
                ql_dbg(ql_dbg_p3p, vha, 0xb040,
                    "[%s]: data ptr[%d]: %p, entry_hdr: %p\n"
-                   "entry_type: 0x%x, captrue_mask: 0x%x\n",
+                   "entry_type: 0x%x, capture_mask: 0x%x\n",
                    __func__, i, data_ptr, entry_hdr,
                    entry_hdr->entry_type,
                    entry_hdr->d_ctrl.entry_capture_mask);
index dc1ec9b..0aa9c38 100644 (file)
@@ -1572,7 +1572,7 @@ qla8044_read_reset_template(struct scsi_qla_host *vha)
        /* Copy rest of the template */
        if (qla8044_read_flash_data(vha, p_buff, addr, tmplt_hdr_def_size)) {
                ql_log(ql_log_fatal, vha, 0xb0bd,
-                   "%s: Failed to read reset tempelate\n", __func__);
+                   "%s: Failed to read reset template\n", __func__);
                goto exit_read_template_error;
        }