aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/iscsi/iscsi_target_configfs.c2
-rw-r--r--drivers/target/iscsi/iscsi_target_erl0.c6
-rw-r--r--drivers/target/iscsi/iscsi_target_parameters.c1
-rw-r--r--drivers/target/iscsi/iscsi_target_util.c2
4 files changed, 6 insertions, 5 deletions
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c
index ff6fd4fb624d..0f03b7919d7c 100644
--- a/drivers/target/iscsi/iscsi_target_configfs.c
+++ b/drivers/target/iscsi/iscsi_target_configfs.c
@@ -235,7 +235,7 @@ static struct se_tpg_np *lio_target_call_addnptotpg(
235 * iSER/SCTP (TODO, software emulation with osc-iwarp) 235 * iSER/SCTP (TODO, software emulation with osc-iwarp)
236 * iSER/IB (TODO, hardware available) 236 * iSER/IB (TODO, hardware available)
237 * 237 *
238 * can be enabled with atributes under 238 * can be enabled with attributes under
239 * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/ 239 * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/
240 * 240 *
241 */ 241 */
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c
index 8aacf611b86d..8e6298cc8839 100644
--- a/drivers/target/iscsi/iscsi_target_erl0.c
+++ b/drivers/target/iscsi/iscsi_target_erl0.c
@@ -410,11 +410,11 @@ static int iscsit_dataout_pre_datapduinorder_yes(
410 /* 410 /*
411 * For DataSequenceInOrder=Yes: If the offset is greater than the global 411 * For DataSequenceInOrder=Yes: If the offset is greater than the global
412 * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has 412 * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has
413 * occured and fail the connection. 413 * occurred and fail the connection.
414 * 414 *
415 * For DataSequenceInOrder=No: If the offset is greater than the per 415 * For DataSequenceInOrder=No: If the offset is greater than the per
416 * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol 416 * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol
417 * error has occured and fail the connection. 417 * error has occurred and fail the connection.
418 */ 418 */
419 if (conn->sess->sess_ops->DataSequenceInOrder) { 419 if (conn->sess->sess_ops->DataSequenceInOrder) {
420 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { 420 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) {
@@ -801,7 +801,7 @@ void iscsit_start_time2retain_handler(struct iscsi_session *sess)
801{ 801{
802 int tpg_active; 802 int tpg_active;
803 /* 803 /*
804 * Only start Time2Retain timer when the assoicated TPG is still in 804 * Only start Time2Retain timer when the associated TPG is still in
805 * an ACTIVE (eg: not disabled or shutdown) state. 805 * an ACTIVE (eg: not disabled or shutdown) state.
806 */ 806 */
807 spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock); 807 spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock);
diff --git a/drivers/target/iscsi/iscsi_target_parameters.c b/drivers/target/iscsi/iscsi_target_parameters.c
index 90b740048f26..1bf7432bfcbc 100644
--- a/drivers/target/iscsi/iscsi_target_parameters.c
+++ b/drivers/target/iscsi/iscsi_target_parameters.c
@@ -1432,6 +1432,7 @@ static struct iscsi_param *iscsi_check_key(
1432 break; 1432 break;
1433 case PHASE_OPERATIONAL: 1433 case PHASE_OPERATIONAL:
1434 pr_debug("Operational phase.\n"); 1434 pr_debug("Operational phase.\n");
1435 break;
1435 default: 1436 default:
1436 pr_debug("Unknown phase.\n"); 1437 pr_debug("Unknown phase.\n");
1437 } 1438 }
diff --git a/drivers/target/iscsi/iscsi_target_util.c b/drivers/target/iscsi/iscsi_target_util.c
index 1a91195ab619..69e0cfd98870 100644
--- a/drivers/target/iscsi/iscsi_target_util.c
+++ b/drivers/target/iscsi/iscsi_target_util.c
@@ -684,7 +684,7 @@ void iscsit_release_cmd(struct iscsi_cmd *cmd)
684void iscsit_free_cmd(struct iscsi_cmd *cmd) 684void iscsit_free_cmd(struct iscsi_cmd *cmd)
685{ 685{
686 /* 686 /*
687 * Determine if a struct se_cmd is assoicated with 687 * Determine if a struct se_cmd is associated with
688 * this struct iscsi_cmd. 688 * this struct iscsi_cmd.
689 */ 689 */
690 switch (cmd->iscsi_opcode) { 690 switch (cmd->iscsi_opcode) {