Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: target: iscsi: Fix typos

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>

authored by

Andrew Kreimer and committed by
Martin K. Petersen
035b9fa0 7c1b882c

+3 -3
+3 -3
drivers/target/iscsi/iscsi_target_nego.c
··· 212 212 213 213 if ((login_req->max_version != login->version_max) || 214 214 (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" 216 216 " unexpectedly to 0x%02x/0x%02x, protocol error\n", 217 217 login_req->max_version, login_req->min_version); 218 218 iscsit_tx_login_rsp(conn, ISCSI_STATUS_CLS_INITIATOR_ERR, ··· 557 557 * before initial PDU processing in iscsi_target_start_negotiation() 558 558 * has completed, go ahead and retry until it's cleared. 559 559 * 560 - * Otherwise if the TCP connection drops while this is occuring, 560 + * Otherwise if the TCP connection drops while this is occurring, 561 561 * iscsi_target_start_negotiation() will detect the failure, call 562 562 * cancel_delayed_work_sync(&conn->login_work), and cleanup the 563 563 * remaining iscsi connection resources from iscsi_np process context. ··· 1050 1050 /* 1051 1051 * Check to make sure the TCP connection has not 1052 1052 * dropped asynchronously while session reinstatement 1053 - * was occuring in this kthread context, before 1053 + * was occurring in this kthread context, before 1054 1054 * transitioning to full feature phase operation. 1055 1055 */ 1056 1056 if (iscsi_target_sk_check_close(conn))