diff mbox series

scsi: target: iscsi: Fix typos

Message ID 20250206084905.11327-1-algonell@gmail.com (mailing list archive)
State New
Headers show
Series scsi: target: iscsi: Fix typos | expand

Commit Message

Andrew Kreimer Feb. 6, 2025, 8:47 a.m. UTC
There are some typos in comments/messages:
 - Nin -> Min
 - occuring -> occurring

Fix them via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 drivers/target/iscsi/iscsi_target_nego.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Martin K. Petersen Feb. 13, 2025, 3:01 a.m. UTC | #1
Andrew,

> There are some typos in comments/messages:
>  - Nin -> Min
>  - occuring -> occurring
>
> Fix them via codespell.

Applied to 6.15/scsi-staging, thanks!
Martin K. Petersen Feb. 19, 2025, 1:06 a.m. UTC | #2
On Thu, 06 Feb 2025 10:47:03 +0200, Andrew Kreimer wrote:

> There are some typos in comments/messages:
>  - Nin -> Min
>  - occuring -> occurring
> 
> Fix them via codespell.
> 
> 
> [...]

Applied to 6.15/scsi-queue, thanks!

[1/1] scsi: target: iscsi: Fix typos
      https://git.kernel.org/mkp/scsi/c/035b9fa023fb
diff mbox series

Patch

diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c
index 16e3ded98c32..832588f21f91 100644
--- a/drivers/target/iscsi/iscsi_target_nego.c
+++ b/drivers/target/iscsi/iscsi_target_nego.c
@@ -212,7 +212,7 @@  int iscsi_target_check_login_request(
 
 	if ((login_req->max_version != login->version_max) ||
 	    (login_req->min_version != login->version_min)) {
-		pr_err("Login request changed Version Max/Nin"
+		pr_err("Login request changed Version Max/Min"
 			" unexpectedly to 0x%02x/0x%02x, protocol error\n",
 			login_req->max_version, login_req->min_version);
 		iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR,
@@ -557,7 +557,7 @@  static void iscsi_target_do_login_rx(struct work_struct *work)
 	 * before initial PDU processing in iscsi_target_start_negotiation()
 	 * has completed, go ahead and retry until it's cleared.
 	 *
-	 * Otherwise if the TCP connection drops while this is occuring,
+	 * Otherwise if the TCP connection drops while this is occurring,
 	 * iscsi_target_start_negotiation() will detect the failure, call
 	 * cancel_delayed_work_sync(&conn->login_work), and cleanup the
 	 * remaining iscsi connection resources from iscsi_np process context.
@@ -1050,7 +1050,7 @@  static int iscsi_target_do_login(struct iscsit_conn *conn, struct iscsi_login *l
 				/*
 				 * Check to make sure the TCP connection has not
 				 * dropped asynchronously while session reinstatement
-				 * was occuring in this kthread context, before
+				 * was occurring in this kthread context, before
 				 * transitioning to full feature phase operation.
 				 */
 				if (iscsi_target_sk_check_close(conn))