target: Fix minor spelling typos in drivers/target
authorMasanari Iida <standby24x7@gmail.com>
Thu, 16 Aug 2012 13:43:13 +0000 (22:43 +0900)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:31 +0000 (17:13 -0700)
Correct spelling typo in printk and comment within drivers/target.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_fabric_lib.c
drivers/target/target_core_pr.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_tpg.c
drivers/target/target_core_transport.c

index 41641ba548286e9dbf33f45a02ece5b20eec0d14..9a5f9a7aecd2b9a5d7d4b6f99c6bd5023359d778 100644 (file)
@@ -344,7 +344,7 @@ int target_emulate_set_target_port_groups(struct se_cmd *cmd)
                         */
                        rtpi = get_unaligned_be16(ptr + 2);
                        /*
-                        * Locate the matching relative target port identifer
+                        * Locate the matching relative target port identifier
                         * for the struct se_device storage object.
                         */
                        spin_lock(&dev->se_port_lock);
index 81dbfed16b2027e8048f85f757bb87bf7e936b39..a1b41715464abd2a472570c1f3c8203d8693cf70 100644 (file)
@@ -1200,7 +1200,7 @@ static ssize_t target_core_dev_pr_show_attr_res_pr_holder_tg_port(
                " Target Node Endpoint: %s\n", tfo->get_fabric_name(),
                tfo->tpg_get_wwn(se_tpg));
        len += sprintf(page+len, "SPC-3 Reservation: Relative Port"
-               " Identifer Tag: %hu %s Portal Group Tag: %hu"
+               " Identifier Tag: %hu %s Portal Group Tag: %hu"
                " %s Logical Unit: %u\n", lun->lun_sep->sep_rtpi,
                tfo->get_fabric_name(), tfo->tpg_get_tag(se_tpg),
                tfo->get_fabric_name(), lun->unpacked_lun);
index 9fc9a6006ca082076a6d235dfad676e1e1a11ea9..2d0353355ebd9ace557b604beef2ce96440ba0d5 100644 (file)
@@ -531,7 +531,7 @@ static struct se_port *core_alloc_port(struct se_device *dev)
        }
 again:
        /*
-        * Allocate the next RELATIVE TARGET PORT IDENTIFER for this struct se_device
+        * Allocate the next RELATIVE TARGET PORT IDENTIFIER for this struct se_device
         * Here is the table from spc4r17 section 7.7.3.8.
         *
         *    Table 473 -- RELATIVE TARGET PORT IDENTIFIER field
@@ -548,7 +548,7 @@ again:
 
        list_for_each_entry(port_tmp, &dev->dev_sep_list, sep_list) {
                /*
-                * Make sure RELATIVE TARGET PORT IDENTIFER is unique
+                * Make sure RELATIVE TARGET PORT IDENTIFIER is unique
                 * for 16-bit wrap..
                 */
                if (port->sep_rtpi == port_tmp->sep_rtpi)
@@ -595,7 +595,7 @@ static void core_export_port(
        }
 
        dev->dev_port_count++;
-       port->sep_index = port->sep_rtpi; /* RELATIVE TARGET PORT IDENTIFER */
+       port->sep_index = port->sep_rtpi; /* RELATIVE TARGET PORT IDENTIFIER */
 }
 
 /*
index 283a36e464e65ee5e55e9dded0037262a8203a9a..e460d6233a0a3364a66bc55c72bb7c3cd801b6d9 100644 (file)
@@ -338,7 +338,7 @@ u32 iscsi_get_pr_transport_id_len(
         * 00b: iSCSI Initiator device TransportID format
         */
        if (pr_reg->isid_present_at_reg) {
-               len += 5; /* For ",i,0x" ASCII seperator */
+               len += 5; /* For ",i,0x" ASCII separator */
                len += 7; /* For iSCSI Initiator Session ID + Null terminator */
                *format_code = 1;
        } else
@@ -415,20 +415,20 @@ char *iscsi_parse_pr_out_transport_id(
                        *out_tid_len = (add_len + 4);
        }
        /*
-        * Check for ',i,0x' seperator between iSCSI Name and iSCSI Initiator
+        * Check for ',i,0x' separator between iSCSI Name and iSCSI Initiator
         * Session ID as defined in Table 390 - iSCSI initiator port TransportID
         * format.
         */
        if (format_code == 0x40) {
                p = strstr(&buf[4], ",i,0x");
                if (!p) {
-                       pr_err("Unable to locate \",i,0x\" seperator"
+                       pr_err("Unable to locate \",i,0x\" separator"
                                " for Initiator port identifier: %s\n",
                                &buf[4]);
                        return NULL;
                }
                *p = '\0'; /* Terminate iSCSI Name */
-               p += 5; /* Skip over ",i,0x" seperator */
+               p += 5; /* Skip over ",i,0x" separator */
 
                *port_nexus_ptr = p;
                /*
index 956c84c6b666498caabf7b60b7404413698c0b14..3f8aac36ec3148b95cd5bb1281cdf7496e98d52d 100644 (file)
@@ -1620,7 +1620,7 @@ static int core_scsi3_decode_spec_i_port(
                                goto out;
                        }
                        /*
-                        * Locate the desination initiator ACL to be registered
+                        * Locate the destination initiator ACL to be registered
                         * from the decoded fabric module specific TransportID
                         * at *i_str.
                         */
@@ -4257,7 +4257,7 @@ static int core_scsi3_pri_read_full_status(struct se_cmd *cmd)
                        buf[off++] = ((port->sep_rtpi >> 8) & 0xff);
                        buf[off++] = (port->sep_rtpi & 0xff);
                } else
-                       off += 2; /* Skip over RELATIVE TARGET PORT IDENTIFER */
+                       off += 2; /* Skip over RELATIVE TARGET PORT IDENTIFIER */
 
                /*
                 * Now, have the $FABRIC_MOD fill in the protocol identifier
index 9d7ce3daa26275a7c08b831ae9b955382e0e9103..617c086a8a023c84cbaa9e815602bc4123215f04 100644 (file)
@@ -264,7 +264,7 @@ pscsi_get_inquiry_vpd_device_ident(struct scsi_device *sdev,
                                        " length zero!\n");
                        break;
                }
-               pr_debug("T10 VPD Identifer Length: %d\n", ident_len);
+               pr_debug("T10 VPD Identifier Length: %d\n", ident_len);
 
                vpd = kzalloc(sizeof(struct t10_vpd), GFP_KERNEL);
                if (!vpd) {
index b8628a5014b9ecb45151e52496845a33be06bfc2..a531fe282b1e4868b2286e3c7d842061636c9be8 100644 (file)
@@ -303,7 +303,7 @@ struct se_node_acl *core_tpg_check_initiator_node_acl(
        }
        /*
         * Here we only create demo-mode MappedLUNs from the active
-        * TPG LUNs if the fabric is not explictly asking for
+        * TPG LUNs if the fabric is not explicitly asking for
         * tpg_check_demo_mode_login_only() == 1.
         */
        if ((tpg->se_tpg_tfo->tpg_check_demo_mode_login_only == NULL) ||
index d6d48447f1a4b4dabd9b1776fd4e993eb8444a8d..3cc76ad14ce208526fae9cb1f0f73bc1293c86f3 100644 (file)
@@ -958,7 +958,7 @@ int
 transport_set_vpd_ident(struct t10_vpd *vpd, unsigned char *page_83)
 {
        static const char hex_str[] = "0123456789abcdef";
-       int j = 0, i = 4; /* offset to start of the identifer */
+       int j = 0, i = 4; /* offset to start of the identifier */
 
        /*
         * The VPD Code Set (encoding)
@@ -2760,7 +2760,7 @@ bool transport_wait_for_tasks(struct se_cmd *cmd)
        spin_lock_irqsave(&cmd->t_state_lock, flags);
        cmd->transport_state &= ~(CMD_T_ACTIVE | CMD_T_STOP);
 
-       pr_debug("wait_for_tasks: Stopped wait_for_compltion("
+       pr_debug("wait_for_tasks: Stopped wait_for_completion("
                "&cmd->t_transport_stop_comp) for ITT: 0x%08x\n",
                cmd->se_tfo->get_task_tag(cmd));