Skip to contentSkip to conversation

scsi: iscsi: target: fix spelling mistake "entires" -> "entries"

PATCH Applied Colin King 2 participants 2 messages Sep 14, 2018 – Sep 17, 2018

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: iscsi: target: fix spelling mistake "entires" -> "entries"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in function name and comment

---
 drivers/target/iscsi/iscsi_target.c       | 2 +-
 drivers/target/iscsi/iscsi_target_erl2.c  | 2 +-
 drivers/target/iscsi/iscsi_target_erl2.h  | 2 +-
 drivers/target/iscsi/iscsi_target_login.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/target/iscsi/iscsi_target.c +1 -1
index cc756a123fd8..c1d5a173553d 100644
@@ -4355,7 +4355,7 @@ int iscsit_close_session(struct iscsi_session *sess)
 	transport_deregister_session(sess->se_sess);
 
 	if (sess->sess_ops->ErrorRecoveryLevel = 2)
-		iscsit_free_connection_recovery_entires(sess);
+		iscsit_free_connection_recovery_entries(sess);
 
 	iscsit_free_all_ooo_cmdsns(sess);
 
drivers/target/iscsi/iscsi_target_erl2.c +1 -1
index 8df9c90f3db3..b08b620b1bf0 100644
@@ -125,7 +125,7 @@ struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry(
 	return NULL;
 }
 
-void iscsit_free_connection_recovery_entires(struct iscsi_session *sess)
+void iscsit_free_connection_recovery_entries(struct iscsi_session *sess)
 {
 	struct iscsi_cmd *cmd, *cmd_tmp;
 	struct iscsi_conn_recovery *cr, *cr_tmp;
drivers/target/iscsi/iscsi_target_erl2.h +1 -1
index 93e180d68d07..a39b0caf2337 100644
@@ -13,7 +13,7 @@ extern void iscsit_create_conn_recovery_datain_values(struct iscsi_cmd *, __be32
 extern void iscsit_create_conn_recovery_dataout_values(struct iscsi_cmd *);
 extern struct iscsi_conn_recovery *iscsit_get_inactive_connection_recovery_entry(
 			struct iscsi_session *, u16);
-extern void iscsit_free_connection_recovery_entires(struct iscsi_session *);
+extern void iscsit_free_connection_recovery_entries(struct iscsi_session *);
 extern int iscsit_remove_active_connection_recovery_entry(
 			struct iscsi_conn_recovery *, struct iscsi_session *);
 extern int iscsit_remove_cmd_from_connection_recovery(struct iscsi_cmd *,
drivers/target/iscsi/iscsi_target_login.c +1 -1
index bb90c80ff388..ae3209efd0e0 100644
@@ -578,7 +578,7 @@ int iscsi_login_post_auth_non_zero_tsih(
 	}
 
 	/*
-	 * Check for any connection recovery entires containing CID.
+	 * Check for any connection recovery entries containing CID.
 	 * We use the original ExpStatSN sent in the first login request
 	 * to acknowledge commands for the failed connection.
 	 *
Signature · 1 line
2.17.1
#1 lore raw

Colin,

Quoted 1 line

Trivial fix to spelling mistake in function name and comment

Applied to 4.20/scsi-queue, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering