wifi: fix typos and repeated words in comments
cover wifi: fix typos and repeated words in comments
This corrects 2 misspellings and repeated words in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
wifi: iwlwifi: fix typos in comments
wifi: iwlwifi: fix repeated words in comments
drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 2 +- drivers/net/wireless/intel/iwlwifi/fw/api/power.h | 2 +- drivers/net/wireless/intel/iwlwifi/fw/api/rs.h | 2 +- drivers/net/wireless/intel/iwlwifi/iwl-trans.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/time-event.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/2 wifi: iwlwifi: 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.
--- drivers/net/wireless/intel/iwlwifi/fw/api/rs.h | 2 +- drivers/net/wireless/intel/iwlwifi/iwl-trans.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/time-event.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/wireless/intel/iwlwifi/fw/api/rs.h +1 -1
@@ -772,7 +772,7 @@ enum {#define LQ_FLAG_RTS_BW_SIG_DYNAMIC (2 << LQ_FLAG_RTS_BW_SIG_POS)/* Bit 6: (0) No dynamic BW selection (1) Allow dynamic BW selection -* Dyanmic BW selection allows Tx with narrower BW then requested in rates +* Dynamic BW selection allows Tx with narrower BW then requested in rates */ #define LQ_FLAG_DYNAMIC_BW_POS 6#define LQ_FLAG_DYNAMIC_BW_MSK (1 << LQ_FLAG_DYNAMIC_BW_POS)
drivers/net/wireless/intel/iwlwifi/iwl-trans.h +1 -1
@@ -628,7 +628,7 @@ struct iwl_pc_data {* @tcm_error_event_table: address(es) of TCM error table(s) * @rcm_error_event_table: address(es) of RCM error table(s) * @error_event_table_tlv_status: bitmap that indicates what error table -* pointers was recevied via TLV. uses enum &iwl_error_event_table_status +* pointers was received via TLV. uses enum &iwl_error_event_table_status * @internal_ini_cfg: internal debug cfg state. Uses &enum iwl_ini_cfg_state * @external_ini_cfg: external debug cfg state. Uses &enum iwl_ini_cfg_state * @fw_mon_cfg: debug buffer allocation configuration
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +1 -1
@@ -782,7 +782,7 @@ static int iwl_mvm_mac_ctxt_cmd_ibss(struct iwl_mvm *mvm,MAC_FILTER_IN_PROBE_REQUEST | MAC_FILTER_ACCEPT_GRP); -/* cmd.ibss.beacon_time/cmd.ibss.beacon_tsf are curently ignored */ +/* cmd.ibss.beacon_time/cmd.ibss.beacon_tsf are currently ignored */ cmd.ibss.bi =cpu_to_le32 (vif->bss_conf.beacon_int);/* TODO: Assumes that the beacon id == mac context id */
drivers/net/wireless/intel/iwlwifi/mvm/time-event.h +1 -1
@@ -89,7 +89,7 @@ void iwl_mvm_protect_session(struct iwl_mvm *mvm,* This functions cancels the session protection which is an act of good * citizenship. If it is not needed any more it should be canceled because * the other bindings wait for the medium during that time. -* This funtions doesn't sleep. +* This functions doesn't sleep. */ void iwl_mvm_stop_session_protection (struct iwl_mvm *mvm,struct ieee80211_vif *vif);
drivers/net/wireless/intel/iwlwifi/mvm/utils.c +2 -2
@@ -135,7 +135,7 @@ int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, }/* -* We assume that the caller set the status to the sucess value +* We assume that the caller set the status to the success value */ int _iwl_mvm_send_cmd_pdu_status (struct iwl_mvm *mvm,u32 id,u16 len,const void *data,u32 *status)
@@ -284,7 +284,7 @@ int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq)* @smps_request: The request to change the SMPS mode. * @link_id: for MLO link_id, otherwise 0 (deflink) * -* Get a requst to change the SMPS mode, +* Get a request to change the SMPS mode, * and change it according to all other requests in the driver. */ void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
Signature · 1 line
2.48.1
PATCH 2/2 wifi: iwlwifi: fix repeated words in comments
In reply to Hemanth SelamDrop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 2 +- drivers/net/wireless/intel/iwlwifi/fw/api/power.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/dvm/lib.c +1 -1
@@ -931,7 +931,7 @@ static void iwlagn_wowlan_program_keys(struct ieee80211_hw *hw,/* * For non-QoS this relies on the fact that both the uCode and -* mac80211 use TID 0 (as they need to to avoid replay attacks) +* mac80211 use TID 0 (as they need to avoid replay attacks) * for checking the IV in the frames. */ for (i =0 ; i <IWLAGN_NUM_RSC ; i++) {
drivers/net/wireless/intel/iwlwifi/fw/api/power.h +1 -1
@@ -727,7 +727,7 @@ struct iwl_sar_offset_mapping_cmd {* regardless of whether its temperature has been changed. * @bf_enable_beacon_filter: 1, beacon filtering is enabled; 0, disabled. * @bf_debug_flag: beacon filtering debug configuration -* @bf_escape_timer: Send beacons to to driver if no beacons were passed +* @bf_escape_timer: Send beacons to driver if no beacons were passed * for a specific period of time. Units: Beacons. * @ba_escape_timer: Fully receive and parse beacon if no beacons were passed * for a longer period of time then this escape-timeout. Units: Beacons.
Signature · 1 line
2.48.1