Skip to content

Commit e80c982

Browse files
scsi: target: iscsi: Fix typos
JIRA: https://issues.redhat.com/browse/RHEL-111938 There are some typos in comments/messages: - Nin -> Min - occuring -> occurring Fix them via codespell. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Link: https://lore.kernel.org/r/20250206084905.11327-1-algonell@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit 035b9fa) Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
1 parent c66894e commit e80c982

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/target/iscsi/iscsi_target_nego.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ int iscsi_target_check_login_request(
212212

213213
if ((login_req->max_version != login->version_max) ||
214214
(login_req->min_version != login->version_min)) {
215-
pr_err("Login request changed Version Max/Nin"
215+
pr_err("Login request changed Version Max/Min"
216216
" unexpectedly to 0x%02x/0x%02x, protocol error\n",
217217
login_req->max_version, login_req->min_version);
218218
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)
557557
* before initial PDU processing in iscsi_target_start_negotiation()
558558
* has completed, go ahead and retry until it's cleared.
559559
*
560-
* Otherwise if the TCP connection drops while this is occuring,
560+
* Otherwise if the TCP connection drops while this is occurring,
561561
* iscsi_target_start_negotiation() will detect the failure, call
562562
* cancel_delayed_work_sync(&conn->login_work), and cleanup the
563563
* 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
10501050
/*
10511051
* Check to make sure the TCP connection has not
10521052
* dropped asynchronously while session reinstatement
1053-
* was occuring in this kthread context, before
1053+
* was occurring in this kthread context, before
10541054
* transitioning to full feature phase operation.
10551055
*/
10561056
if (iscsi_target_sk_check_close(conn))

0 commit comments

Comments
 (0)