diff options
author | Masanari Iida <standby24x7@gmail.com> | 2012-08-16 09:43:13 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-09-17 20:13:31 -0400 |
commit | 35d1efe80500a55f9aa01b305a6714ec78c33764 (patch) | |
tree | dc4a6fe89d1c4c10bf4f50f38eaa909c189de9e5 /drivers/target | |
parent | 9c58b7ddd70dd7bfaac4ca87131f36d10aaba441 (diff) |
target: Fix minor spelling typos in drivers/target
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>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_alua.c | 2 | ||||
-rw-r--r-- | drivers/target/target_core_configfs.c | 2 | ||||
-rw-r--r-- | drivers/target/target_core_device.c | 6 | ||||
-rw-r--r-- | drivers/target/target_core_fabric_lib.c | 8 | ||||
-rw-r--r-- | drivers/target/target_core_pr.c | 4 | ||||
-rw-r--r-- | drivers/target/target_core_pscsi.c | 2 | ||||
-rw-r--r-- | drivers/target/target_core_tpg.c | 2 | ||||
-rw-r--r-- | drivers/target/target_core_transport.c | 4 |
8 files changed, 15 insertions, 15 deletions
diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c index 41641ba54828..9a5f9a7aecd2 100644 --- a/drivers/target/target_core_alua.c +++ b/drivers/target/target_core_alua.c | |||
@@ -344,7 +344,7 @@ int target_emulate_set_target_port_groups(struct se_cmd *cmd) | |||
344 | */ | 344 | */ |
345 | rtpi = get_unaligned_be16(ptr + 2); | 345 | rtpi = get_unaligned_be16(ptr + 2); |
346 | /* | 346 | /* |
347 | * Locate the matching relative target port identifer | 347 | * Locate the matching relative target port identifier |
348 | * for the struct se_device storage object. | 348 | * for the struct se_device storage object. |
349 | */ | 349 | */ |
350 | spin_lock(&dev->se_port_lock); | 350 | spin_lock(&dev->se_port_lock); |
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c index 81dbfed16b20..a1b41715464a 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c | |||
@@ -1200,7 +1200,7 @@ static ssize_t target_core_dev_pr_show_attr_res_pr_holder_tg_port( | |||
1200 | " Target Node Endpoint: %s\n", tfo->get_fabric_name(), | 1200 | " Target Node Endpoint: %s\n", tfo->get_fabric_name(), |
1201 | tfo->tpg_get_wwn(se_tpg)); | 1201 | tfo->tpg_get_wwn(se_tpg)); |
1202 | len += sprintf(page+len, "SPC-3 Reservation: Relative Port" | 1202 | len += sprintf(page+len, "SPC-3 Reservation: Relative Port" |
1203 | " Identifer Tag: %hu %s Portal Group Tag: %hu" | 1203 | " Identifier Tag: %hu %s Portal Group Tag: %hu" |
1204 | " %s Logical Unit: %u\n", lun->lun_sep->sep_rtpi, | 1204 | " %s Logical Unit: %u\n", lun->lun_sep->sep_rtpi, |
1205 | tfo->get_fabric_name(), tfo->tpg_get_tag(se_tpg), | 1205 | tfo->get_fabric_name(), tfo->tpg_get_tag(se_tpg), |
1206 | tfo->get_fabric_name(), lun->unpacked_lun); | 1206 | tfo->get_fabric_name(), lun->unpacked_lun); |
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c index 9fc9a6006ca0..2d0353355ebd 100644 --- a/drivers/target/target_core_device.c +++ b/drivers/target/target_core_device.c | |||
@@ -531,7 +531,7 @@ static struct se_port *core_alloc_port(struct se_device *dev) | |||
531 | } | 531 | } |
532 | again: | 532 | again: |
533 | /* | 533 | /* |
534 | * Allocate the next RELATIVE TARGET PORT IDENTIFER for this struct se_device | 534 | * Allocate the next RELATIVE TARGET PORT IDENTIFIER for this struct se_device |
535 | * Here is the table from spc4r17 section 7.7.3.8. | 535 | * Here is the table from spc4r17 section 7.7.3.8. |
536 | * | 536 | * |
537 | * Table 473 -- RELATIVE TARGET PORT IDENTIFIER field | 537 | * Table 473 -- RELATIVE TARGET PORT IDENTIFIER field |
@@ -548,7 +548,7 @@ again: | |||
548 | 548 | ||
549 | list_for_each_entry(port_tmp, &dev->dev_sep_list, sep_list) { | 549 | list_for_each_entry(port_tmp, &dev->dev_sep_list, sep_list) { |
550 | /* | 550 | /* |
551 | * Make sure RELATIVE TARGET PORT IDENTIFER is unique | 551 | * Make sure RELATIVE TARGET PORT IDENTIFIER is unique |
552 | * for 16-bit wrap.. | 552 | * for 16-bit wrap.. |
553 | */ | 553 | */ |
554 | if (port->sep_rtpi == port_tmp->sep_rtpi) | 554 | if (port->sep_rtpi == port_tmp->sep_rtpi) |
@@ -595,7 +595,7 @@ static void core_export_port( | |||
595 | } | 595 | } |
596 | 596 | ||
597 | dev->dev_port_count++; | 597 | dev->dev_port_count++; |
598 | port->sep_index = port->sep_rtpi; /* RELATIVE TARGET PORT IDENTIFER */ | 598 | port->sep_index = port->sep_rtpi; /* RELATIVE TARGET PORT IDENTIFIER */ |
599 | } | 599 | } |
600 | 600 | ||
601 | /* | 601 | /* |
diff --git a/drivers/target/target_core_fabric_lib.c b/drivers/target/target_core_fabric_lib.c index 283a36e464e6..e460d6233a0a 100644 --- a/drivers/target/target_core_fabric_lib.c +++ b/drivers/target/target_core_fabric_lib.c | |||
@@ -338,7 +338,7 @@ u32 iscsi_get_pr_transport_id_len( | |||
338 | * 00b: iSCSI Initiator device TransportID format | 338 | * 00b: iSCSI Initiator device TransportID format |
339 | */ | 339 | */ |
340 | if (pr_reg->isid_present_at_reg) { | 340 | if (pr_reg->isid_present_at_reg) { |
341 | len += 5; /* For ",i,0x" ASCII seperator */ | 341 | len += 5; /* For ",i,0x" ASCII separator */ |
342 | len += 7; /* For iSCSI Initiator Session ID + Null terminator */ | 342 | len += 7; /* For iSCSI Initiator Session ID + Null terminator */ |
343 | *format_code = 1; | 343 | *format_code = 1; |
344 | } else | 344 | } else |
@@ -415,20 +415,20 @@ char *iscsi_parse_pr_out_transport_id( | |||
415 | *out_tid_len = (add_len + 4); | 415 | *out_tid_len = (add_len + 4); |
416 | } | 416 | } |
417 | /* | 417 | /* |
418 | * Check for ',i,0x' seperator between iSCSI Name and iSCSI Initiator | 418 | * Check for ',i,0x' separator between iSCSI Name and iSCSI Initiator |
419 | * Session ID as defined in Table 390 - iSCSI initiator port TransportID | 419 | * Session ID as defined in Table 390 - iSCSI initiator port TransportID |
420 | * format. | 420 | * format. |
421 | */ | 421 | */ |
422 | if (format_code == 0x40) { | 422 | if (format_code == 0x40) { |
423 | p = strstr(&buf[4], ",i,0x"); | 423 | p = strstr(&buf[4], ",i,0x"); |
424 | if (!p) { | 424 | if (!p) { |
425 | pr_err("Unable to locate \",i,0x\" seperator" | 425 | pr_err("Unable to locate \",i,0x\" separator" |
426 | " for Initiator port identifier: %s\n", | 426 | " for Initiator port identifier: %s\n", |
427 | &buf[4]); | 427 | &buf[4]); |
428 | return NULL; | 428 | return NULL; |
429 | } | 429 | } |
430 | *p = '\0'; /* Terminate iSCSI Name */ | 430 | *p = '\0'; /* Terminate iSCSI Name */ |
431 | p += 5; /* Skip over ",i,0x" seperator */ | 431 | p += 5; /* Skip over ",i,0x" separator */ |
432 | 432 | ||
433 | *port_nexus_ptr = p; | 433 | *port_nexus_ptr = p; |
434 | /* | 434 | /* |
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c index 956c84c6b666..3f8aac36ec31 100644 --- a/drivers/target/target_core_pr.c +++ b/drivers/target/target_core_pr.c | |||
@@ -1620,7 +1620,7 @@ static int core_scsi3_decode_spec_i_port( | |||
1620 | goto out; | 1620 | goto out; |
1621 | } | 1621 | } |
1622 | /* | 1622 | /* |
1623 | * Locate the desination initiator ACL to be registered | 1623 | * Locate the destination initiator ACL to be registered |
1624 | * from the decoded fabric module specific TransportID | 1624 | * from the decoded fabric module specific TransportID |
1625 | * at *i_str. | 1625 | * at *i_str. |
1626 | */ | 1626 | */ |
@@ -4257,7 +4257,7 @@ static int core_scsi3_pri_read_full_status(struct se_cmd *cmd) | |||
4257 | buf[off++] = ((port->sep_rtpi >> 8) & 0xff); | 4257 | buf[off++] = ((port->sep_rtpi >> 8) & 0xff); |
4258 | buf[off++] = (port->sep_rtpi & 0xff); | 4258 | buf[off++] = (port->sep_rtpi & 0xff); |
4259 | } else | 4259 | } else |
4260 | off += 2; /* Skip over RELATIVE TARGET PORT IDENTIFER */ | 4260 | off += 2; /* Skip over RELATIVE TARGET PORT IDENTIFIER */ |
4261 | 4261 | ||
4262 | /* | 4262 | /* |
4263 | * Now, have the $FABRIC_MOD fill in the protocol identifier | 4263 | * Now, have the $FABRIC_MOD fill in the protocol identifier |
diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c index 9d7ce3daa262..617c086a8a02 100644 --- a/drivers/target/target_core_pscsi.c +++ b/drivers/target/target_core_pscsi.c | |||
@@ -264,7 +264,7 @@ pscsi_get_inquiry_vpd_device_ident(struct scsi_device *sdev, | |||
264 | " length zero!\n"); | 264 | " length zero!\n"); |
265 | break; | 265 | break; |
266 | } | 266 | } |
267 | pr_debug("T10 VPD Identifer Length: %d\n", ident_len); | 267 | pr_debug("T10 VPD Identifier Length: %d\n", ident_len); |
268 | 268 | ||
269 | vpd = kzalloc(sizeof(struct t10_vpd), GFP_KERNEL); | 269 | vpd = kzalloc(sizeof(struct t10_vpd), GFP_KERNEL); |
270 | if (!vpd) { | 270 | if (!vpd) { |
diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index b8628a5014b9..a531fe282b1e 100644 --- a/drivers/target/target_core_tpg.c +++ b/drivers/target/target_core_tpg.c | |||
@@ -303,7 +303,7 @@ struct se_node_acl *core_tpg_check_initiator_node_acl( | |||
303 | } | 303 | } |
304 | /* | 304 | /* |
305 | * Here we only create demo-mode MappedLUNs from the active | 305 | * Here we only create demo-mode MappedLUNs from the active |
306 | * TPG LUNs if the fabric is not explictly asking for | 306 | * TPG LUNs if the fabric is not explicitly asking for |
307 | * tpg_check_demo_mode_login_only() == 1. | 307 | * tpg_check_demo_mode_login_only() == 1. |
308 | */ | 308 | */ |
309 | if ((tpg->se_tpg_tfo->tpg_check_demo_mode_login_only == NULL) || | 309 | if ((tpg->se_tpg_tfo->tpg_check_demo_mode_login_only == NULL) || |
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index d6d48447f1a4..3cc76ad14ce2 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -958,7 +958,7 @@ int | |||
958 | transport_set_vpd_ident(struct t10_vpd *vpd, unsigned char *page_83) | 958 | transport_set_vpd_ident(struct t10_vpd *vpd, unsigned char *page_83) |
959 | { | 959 | { |
960 | static const char hex_str[] = "0123456789abcdef"; | 960 | static const char hex_str[] = "0123456789abcdef"; |
961 | int j = 0, i = 4; /* offset to start of the identifer */ | 961 | int j = 0, i = 4; /* offset to start of the identifier */ |
962 | 962 | ||
963 | /* | 963 | /* |
964 | * The VPD Code Set (encoding) | 964 | * The VPD Code Set (encoding) |
@@ -2760,7 +2760,7 @@ bool transport_wait_for_tasks(struct se_cmd *cmd) | |||
2760 | spin_lock_irqsave(&cmd->t_state_lock, flags); | 2760 | spin_lock_irqsave(&cmd->t_state_lock, flags); |
2761 | cmd->transport_state &= ~(CMD_T_ACTIVE | CMD_T_STOP); | 2761 | cmd->transport_state &= ~(CMD_T_ACTIVE | CMD_T_STOP); |
2762 | 2762 | ||
2763 | pr_debug("wait_for_tasks: Stopped wait_for_compltion(" | 2763 | pr_debug("wait_for_tasks: Stopped wait_for_completion(" |
2764 | "&cmd->t_transport_stop_comp) for ITT: 0x%08x\n", | 2764 | "&cmd->t_transport_stop_comp) for ITT: 0x%08x\n", |
2765 | cmd->se_tfo->get_task_tag(cmd)); | 2765 | cmd->se_tfo->get_task_tag(cmd)); |
2766 | 2766 | ||