[PATCH] wifi: iwlwifi: Fix typo "ransport"

WangYuli posted 1 patch 2 months, 3 weeks ago
There is a newer version of this series
drivers/net/wireless/intel/iwlwifi/dvm/agn.h | 2 +-
scripts/spelling.txt                         | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
[PATCH] wifi: iwlwifi: Fix typo "ransport"
Posted by WangYuli 2 months, 3 weeks ago
There is a spelling mistake of 'ransport' in comments which
should be 'transport'.

This typo was not listed in scripts/spelling.txt, thus it was more
difficult to detect. Add it for convenience.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
 drivers/net/wireless/intel/iwlwifi/dvm/agn.h | 2 +-
 scripts/spelling.txt                         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/agn.h b/drivers/net/wireless/intel/iwlwifi/dvm/agn.h
index 1ebc7effcc2a..061c69286951 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/agn.h
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/agn.h
@@ -388,7 +388,7 @@ static inline void iwl_dvm_set_pmi(struct iwl_priv *priv, bool state)
 /**
  * iwl_parse_eeprom_data - parse EEPROM data and return values
  *
- * @trans: ransport we're parsing for, for debug only
+ * @trans: transport we're parsing for, for debug only
  * @cfg: device configuration for parsing and overrides
  * @eeprom: the EEPROM data
  * @eeprom_size: length of the EEPROM data
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index c33128db7163..c9a6df5be281 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1314,6 +1314,7 @@ quering||querying
 querrying||querying
 queus||queues
 randomally||randomly
+ransport||transport
 raoming||roaming
 readyness||readiness
 reasearcher||researcher
-- 
2.50.0
Re: [PATCH] wifi: iwlwifi: Fix typo "ransport"
Posted by Johannes Berg 2 months, 3 weeks ago
On Mon, 2025-07-14 at 18:47 +0800, WangYuli wrote:
> There is a spelling mistake of 'ransport' in comments which
> should be 'transport'.
> 
> This typo was not listed in scripts/spelling.txt, thus it was more
> difficult to detect. Add it for convenience.
> 
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
> ---
>  drivers/net/wireless/intel/iwlwifi/dvm/agn.h | 2 +-
>  scripts/spelling.txt                         | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)

I don't know who maintains spelling.txt, but I guess we won't merge that
through our tree(s). Also doesn't really seem worth it for a single
instance anyway?

johannes
Re: [PATCH] wifi: iwlwifi: Fix typo "ransport"
Posted by WangYuli 2 months, 3 weeks ago
Hi johannes,

On 2025/7/14 19:02, Johannes Berg wrote:
> I don't know who maintains spelling.txt, but I guess we won't merge that
> through our tree(s). Also doesn't really seem worth it for a single
> instance anyway?

Okay. I'll send a patch v2 that only fixes the spelling error.

Personally, I still think it would be better to include it in 
spelling.txt, but I'll send a separate patch specifically for that.

Thanks,

-- 
WangYuli