target: fix typos in comments
Subsystems (2)
PATCH 1/1 target: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/target/iscsi/iscsi_target.c | 4 ++-- drivers/target/iscsi/iscsi_target_erl0.c | 4 ++-- drivers/target/iscsi/iscsi_target_login.c | 4 ++-- drivers/target/iscsi/iscsi_target_tmr.c | 2 +- drivers/target/iscsi/iscsi_target_tpg.c | 2 +- drivers/target/target_core_pr.c | 2 +- drivers/target/target_core_transport.c | 4 ++-- drivers/target/tcm_fc/tfc_io.c | 2 +- include/target/iscsi/iscsi_target_core.h | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-)
drivers/target/iscsi/iscsi_target.c +2 -2
@@ -108,7 +108,7 @@ void iscsit_put_tiqn_for_login(struct iscsi_tiqn *tiqn)/* * Note that IQN formatting is expected to be done in userspace, and -* no explict IQN format checks are done here. +* no explicit IQN format checks are done here. */ struct iscsi_tiqn *iscsit_add_tiqn (unsigned char *buf) {
@@ -4545,7 +4545,7 @@ static void iscsit_logout_post_handler_closesession(/* * Traditional iscsi/tcp will invoke this logic from TX thread * context during session logout, so clear tx_thread_active and -* sleep if iscsit_close_connection() has not already occured. +* sleep if iscsit_close_connection() has not already occurred. * * Since iser-target invokes this logic from it's own workqueue, * always sleep waiting for RX/TX thread shutdown to complete
drivers/target/iscsi/iscsi_target_erl0.c +2 -2
@@ -343,7 +343,7 @@ static int iscsit_dataout_check_datasn(/* * Considering the target has no method of re-requesting DataOUT -* by DataSN, if we receieve a greater DataSN than expected we +* by DataSN, if we receive a greater DataSN than expected we * assume the functions for DataPDUInOrder=[Yes,No] below will * handle it. *
@@ -394,7 +394,7 @@ static int iscsit_dataout_pre_datapduinorder_yes(/* * For DataSequenceInOrder=Yes: If the offset is greater than the global -* DataPDUInOrder=Yes offset counter in struct iscsit_cmd a protcol error has +* DataPDUInOrder=Yes offset counter in struct iscsit_cmd a protocol error has * occurred and fail the connection. * * For DataSequenceInOrder=No: If the offset is greater than the per
drivers/target/iscsi/iscsi_target_login.c +2 -2
@@ -548,7 +548,7 @@ int iscsi_login_post_auth_non_zero_tsih(* We use the original ExpStatSN sent in the first login request * to acknowledge commands for the failed connection. * -* Also note that an explict logout may have already been sent, +* Also note that an explicit logout may have already been sent, * but the response may not be sent due to additional connection * loss. */
@@ -1261,7 +1261,7 @@ static int __iscsi_target_login_thread(struct iscsi_np *np) }else {/* * Add a new connection to an existing session. -* We check for a non-existant session in +* We check for a non-existent session in * iscsi_login_non_zero_tsih_s2() below based * on ISID/TSIH, but wait until after authentication * to check for connection reinstatement, etc.
drivers/target/iscsi/iscsi_target_tmr.c +1 -1
@@ -450,7 +450,7 @@ static int iscsit_task_reassign_complete(/* * Handles special after-the-fact actions related to TMRs. * Right now the only one that its really needed for is -* connection recovery releated TASK_REASSIGN. +* connection recovery related TASK_REASSIGN. */ int iscsit_tmr_post_handler (struct iscsit_cmd *cmd,struct iscsit_conn *conn) {
drivers/target/iscsi/iscsi_target_tpg.c +1 -1
@@ -308,7 +308,7 @@ int iscsit_tpg_enable_portal_group(struct iscsi_portal_group *tpg) }/* * Make sure that AuthMethod does not contain None as an option -* unless explictly disabled. Set the default to CHAP if authentication +* unless explicitly disabled. Set the default to CHAP if authentication * is enforced (as per default), and remove the NONE option. */ param =iscsi_find_param_from_key (AUTHMETHOD , tpg->param_list);
drivers/target/target_core_pr.c +1 -1
@@ -3655,7 +3655,7 @@ target_scsi3_emulate_pr_out(struct se_cmd *cmd) }/* * If the backend device has been configured to force APTPL metadata -* write-out, go ahead and propigate aptpl=1 down now. +* write-out, go ahead and propagate aptpl=1 down now. */ if (dev->dev_attrib.force_pr_aptpl) aptpl =1 ;
drivers/target/target_core_transport.c +2 -2
@@ -1869,7 +1869,7 @@ EXPORT_SYMBOL_GPL(target_submit_prep);* This may only be called from process context, and also currently * assumes internal allocation of fabric payload buffer by target-core. * -* It also assumes interal target core SGL memory allocation. +* It also assumes internal target core SGL memory allocation. * * This function must only be used by drivers that do their own * sync during shutdown and does not use target_stop_session. If there
@@ -3505,7 +3505,7 @@ static const struct sense_detail sense_detail_table[] = {* REGISTER AND MOVE service actionis attempted, * but there are insufficient device server resources to complete the * operation, then the command shall be terminated with CHECK CONDITION -* status, with the sense key set to ILLEGAL REQUEST,and the additonal +* status, with the sense key set to ILLEGAL REQUEST,and the additional * sense code set to INSUFFICIENT REGISTRATION RESOURCES. */ .key = ILLEGAL_REQUEST,
drivers/target/tcm_fc/tfc_io.c +1 -1
@@ -248,7 +248,7 @@ void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp)* header is posted in receive queue. * * If "Sequence Initiative (TSI)" bit is not set, means error -* condition w.r.t. DDP, hence drop the packet and let explict +* condition w.r.t. DDP, hence drop the packet and let explicit * ABORTS from other end of exchange timer trigger the recovery. */ if (f_ctl &FC_FC_SEQ_INIT )
include/target/iscsi/iscsi_target_core.h +1 -1
@@ -57,7 +57,7 @@ struct sock;#define TA_CACHE_DYNAMIC_ACLS 0/* Enabled by default in demo mode (generic_node_acls=1) */ #define TA_DEMO_MODE_WRITE_PROTECT 1 -/* Disabled by default in production mode w/ explict ACLs */ +/* Disabled by default in production mode w/ explicit ACLs */ #define TA_PROD_MODE_WRITE_PROTECT 0#define TA_DEMO_MODE_DISCOVERY 1#define TA_DEFAULT_ERL 0
Signature · 1 line
2.48.1