Skip to contentSkip to conversation

rtlwifi: fix comment typo

PATCH In review Fredrik Lönnegren 2 participants 3 messages Jul 2, 2024 – Jul 3, 2024 Realtek wireless driver (rtlwifi family)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtlwifi: fix comment typo

Change 'defult' to 'default' in comments in several rtlwifi drivers.

---
 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c | 2 +-
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c +1 -1
index 37bb59fa8bfa..35875cda30fc 100644
@@ -27,7 +27,7 @@ static void rtl88e_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c +1 -1
index e20f2bec45c4..ce7c28d9c874 100644
@@ -31,7 +31,7 @@ static void rtl92c_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 * */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c +1 -1
index 5f6311c2aac4..1b7a08315fc9 100644
@@ -32,7 +32,7 @@ static void rtl92d_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 * */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c +1 -1
index 7bde20fdbeab..162e734d5b08 100644
@@ -31,7 +31,7 @@ static void rtl92ee_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c +1 -1
index 675bdd32feb1..bbf8ff63dced 100644
@@ -27,7 +27,7 @@ static void rtl92s_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 * */
 	rtlpci->const_pci_aspm = 2;
 
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c +1 -1
index dd7505e2f22c..1b144fbd4d26 100644
@@ -33,7 +33,7 @@ static void rtl8723e_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c +1 -1
index 162c34f0e9b7..0a92d0325098 100644
@@ -32,7 +32,7 @@ static void rtl8723be_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 */
 	rtlpci->const_pci_aspm = 3;
 
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c +1 -1
index 7b911695db33..a65503c5ae5a 100644
@@ -30,7 +30,7 @@ static void rtl8821ae_init_aspm_vars(struct ieee80211_hw *hw)
 	 * 2 - Enable ASPM with Clock Req,
 	 * 3 - Alwyas Enable ASPM with Clock Req,
 	 * 4 - Always Enable ASPM without Clock Req.
-	 * set defult to RTL8192CE:3 RTL8192E:2
+	 * set default to RTL8192CE:3 RTL8192E:2
 	 */
 	rtlpci->const_pci_aspm = 3;
 
Signature · 1 line
2.45.2
maintainer
#1 lore raw
Quoted 1 line · Fredrik Lönnegren

Subject: [PATCH] rtlwifi: fix comment typo

Subject prefix should be "wifi: rtlwifi: ...", and it would be better to point out what you change is 'default'.

Quoted 3 lines

Change 'defult' to 'default' in comments in several rtlwifi drivers.

#2 lore raw
Quoted 6 lines · Ping-Ke Shih
Quoted 1 line · Fredrik Lönnegren

Subject: [PATCH] rtlwifi: fix comment typo

Subject prefix should be "wifi: rtlwifi: ...", and it would be better to point out what you change is 'default'.

Good point, I will send an updated patch!

Quoted 7 lines
Quoted 5 lines

Change 'defult' to 'default' in comments in several rtlwifi drivers.