Skip to contentSkip to conversation

rtlwifi: misspelled code and comments corrected.

PATCH Superseded Cheolhyun Park 2 participants 2 messages Apr 12, 2015

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtlwifi: misspelled code and comments corrected.

---
 drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c | 2 +-
 drivers/net/wireless/rtlwifi/rtl8192de/dm.c       | 2 +-
 drivers/net/wireless/rtlwifi/rtl8821ae/dm.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c +1 -1
index f5ee67c..1273997 100644
@@ -312,7 +312,7 @@ static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw)
 	struct dig_t *digtable = &rtlpriv->dm_digtable;
 	u32 isbt;
 
-	/* modify DIG lower bound, deal with abnorally large false alarm */
+	/* modify DIG lower bound, deal with abnormally large false alarm */
 	if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
 		digtable->large_fa_hit++;
 		if (digtable->forbidden_igi < digtable->cur_igvalue) {
drivers/net/wireless/rtlwifi/rtl8192de/dm.c +1 -1
index a1be5a6..f209cda 100644
@@ -420,7 +420,7 @@ static void rtl92d_dm_dig(struct ieee80211_hw *hw)
 		 "dm_DIG() Before: Recover_cnt=%d, rx_gain_min=%x\n",
 		 de_digtable->recover_cnt, de_digtable->rx_gain_min);
 
-	/* deal with abnorally large false alarm */
+	/* deal with abnormally large false alarm */
 	if (falsealm_cnt->cnt_all > 10000) {
 		RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
 			 "dm_DIG(): Abnormally false alarm case\n");
drivers/net/wireless/rtlwifi/rtl8821ae/dm.c +1 -1
index 0b2082d..342678d 100644
@@ -873,7 +873,7 @@ static void rtl8821ae_dm_dig(struct ieee80211_hw *hw)
 
 	if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
 		RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
-			 "Abnornally false alarm case.\n");
+			 "Abnormally false alarm case.\n");
 
 		if (dm_digtable->large_fa_hit != 3)
 			dm_digtable->large_fa_hit++;
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Cheolhyun Park

When you send a corrected patch, it is common to indicate that this is a corrected patch by putting the version number inside the [] in the subject, and to indicate the changes inside the patch, but after the --- line. Neither of these annotations will be included in the commit message, but they help the maintainer keep track of the patch, and whether you have satisfied the reviewer's comments. Thus this patch should have had the subject "[PATCH V2] rtlwifi: ..." and you should have had the lines below after the ---:

Quoted 1 line

---

V2 - Fixed the typo introduced in V1 as noted by Julia Lawall.
---

Quoted 45 lines
  drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c | 2 +-
  drivers/net/wireless/rtlwifi/rtl8192de/dm.c       | 2 +-
  drivers/net/wireless/rtlwifi/rtl8821ae/dm.c       | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c +1 -1
index f5ee67c..1273997 100644
@@ -312,7 +312,7 @@ static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw)
  	struct dig_t *digtable = &rtlpriv->dm_digtable;
  	u32 isbt;
 
-	/* modify DIG lower bound, deal with abnorally large false alarm */
+	/* modify DIG lower bound, deal with abnormally large false alarm */
  	if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
  		digtable->large_fa_hit++;
  		if (digtable->forbidden_igi < digtable->cur_igvalue) {
drivers/net/wireless/rtlwifi/rtl8192de/dm.c +1 -1
index a1be5a6..f209cda 100644
@@ -420,7 +420,7 @@ static void rtl92d_dm_dig(struct ieee80211_hw *hw)
  		 "dm_DIG() Before: Recover_cnt=%d, rx_gain_min=%x\n",
  		 de_digtable->recover_cnt, de_digtable->rx_gain_min);
 
-	/* deal with abnorally large false alarm */
+	/* deal with abnormally large false alarm */
  	if (falsealm_cnt->cnt_all > 10000) {
  		RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
  			 "dm_DIG(): Abnormally false alarm case\n");
drivers/net/wireless/rtlwifi/rtl8821ae/dm.c +1 -1
index 0b2082d..342678d 100644
@@ -873,7 +873,7 @@ static void rtl8821ae_dm_dig(struct ieee80211_hw *hw)
 
  	if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
  		RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
-			 "Abnornally false alarm case.\n");
+			 "Abnormally false alarm case.\n");
 
  		if (dm_digtable->large_fa_hit != 3)
  			dm_digtable->large_fa_hit++;