netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] net: wireless: delete duplicated words + other fixes
@ 2020-08-22 23:19 Randy Dunlap
  2020-08-22 23:19 ` [PATCH 1/7] net: mac80211: agg-rx.c: fix duplicated words Randy Dunlap
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop or fix duplicated words in net/wireless/ and net/mac80211/.

Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org


 net/mac80211/agg-rx.c      |    2 +-
 net/mac80211/mesh.c        |    2 +-
 net/wireless/core.h        |    4 ++--
 net/wireless/reg.c         |    4 ++--
 net/wireless/scan.c        |    4 ++--
 net/wireless/sme.c         |    2 +-
 net/wireless/wext-compat.c |    2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/7] net: mac80211: agg-rx.c: fix duplicated words
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 2/7] net: mac80211: mesh.h: delete duplicated word Randy Dunlap
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Change "If if" to "If it".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/mac80211/agg-rx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200731.orig/net/mac80211/agg-rx.c
+++ linux-next-20200731/net/mac80211/agg-rx.c
@@ -350,7 +350,7 @@ void ___ieee80211_start_rx_ba_session(st
 					   sta->sta.addr, tid);
 			/* We have no API to update the timeout value in the
 			 * driver so reject the timeout update if the timeout
-			 * changed. If if did not change, i.e., no real update,
+			 * changed. If it did not change, i.e., no real update,
 			 * just reply with success.
 			 */
 			rcu_read_lock();

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 2/7] net: mac80211: mesh.h: delete duplicated word
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
  2020-08-22 23:19 ` [PATCH 1/7] net: mac80211: agg-rx.c: fix duplicated words Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 3/7] net: wireless: delete duplicated word + fix grammar Randy Dunlap
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop the repeated word "address".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/mac80211/mesh.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200731.orig/net/mac80211/mesh.c
+++ linux-next-20200731/net/mac80211/mesh.c
@@ -672,7 +672,7 @@ void ieee80211_mesh_root_setup(struct ie
  * @hdr:	802.11 frame header
  * @fc:		frame control field
  * @meshda:	destination address in the mesh
- * @meshsa:	source address address in the mesh.  Same as TA, as frame is
+ * @meshsa:	source address in the mesh.  Same as TA, as frame is
  *              locally originated.
  *
  * Return the length of the 802.11 (does not include a mesh control header)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 3/7] net: wireless: delete duplicated word + fix grammar
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
  2020-08-22 23:19 ` [PATCH 1/7] net: mac80211: agg-rx.c: fix duplicated words Randy Dunlap
  2020-08-22 23:19 ` [PATCH 2/7] net: mac80211: mesh.h: delete duplicated word Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 4/7] net: wireless: reg.c: delete duplicated words + fix punctuation Randy Dunlap
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop the repeated word "Return" + fix verb.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/wireless/core.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200731.orig/net/wireless/core.h
+++ linux-next-20200731/net/wireless/core.h
@@ -466,8 +466,8 @@ extern struct work_struct cfg80211_disco
  *
  * Checks if chandef is usable and we can/need start CAC on such channel.
  *
- * Return: Return true if all channels available and at least
- *	   one channel require CAC (NL80211_DFS_USABLE)
+ * Return: true if all channels available and at least
+ *	   one channel requires CAC (NL80211_DFS_USABLE)
  */
 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
 				 const struct cfg80211_chan_def *chandef);

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 4/7] net: wireless: reg.c: delete duplicated words + fix punctuation
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
                   ` (2 preceding siblings ...)
  2020-08-22 23:19 ` [PATCH 3/7] net: wireless: delete duplicated word + fix grammar Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 5/7] net: wireless: scan.c: delete or fix duplicated words Randy Dunlap
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop duplicated words "was" and "does".
Fix "let's" apostrophe.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/wireless/reg.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200731.orig/net/wireless/reg.c
+++ linux-next-20200731/net/wireless/reg.c
@@ -1594,7 +1594,7 @@ freq_reg_info_regd(u32 center_freq,
 
 		/*
 		 * We only need to know if one frequency rule was
-		 * was in center_freq's band, that's enough, so lets
+		 * in center_freq's band, that's enough, so let's
 		 * not overwrite it once found
 		 */
 		if (!band_rule_found)
@@ -3167,7 +3167,7 @@ static void restore_custom_reg_settings(
  *   - send a user regulatory hint if applicable
  *
  * Device drivers that send a regulatory hint for a specific country
- * keep their own regulatory domain on wiphy->regd so that does does
+ * keep their own regulatory domain on wiphy->regd so that does
  * not need to be remembered.
  */
 static void restore_regulatory_settings(bool reset_user, bool cached)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 5/7] net: wireless: scan.c: delete or fix duplicated words
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
                   ` (3 preceding siblings ...)
  2020-08-22 23:19 ` [PATCH 4/7] net: wireless: reg.c: delete duplicated words + fix punctuation Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 6/7] net: wireless: sme.c: delete duplicated word Randy Dunlap
  2020-08-22 23:19 ` [PATCH 7/7] net: wireless: wext_compat.c: " Randy Dunlap
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop repeated word "stored".
Change "is is" to "it is".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/wireless/scan.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200731.orig/net/wireless/scan.c
+++ linux-next-20200731/net/wireless/scan.c
@@ -55,7 +55,7 @@
  *
  * Also note that the hidden_beacon_bss pointer is only relevant
  * if the driver uses something other than the IEs, e.g. private
- * data stored stored in the BSS struct, since the beacon IEs are
+ * data stored in the BSS struct, since the beacon IEs are
  * also linked into the probe response struct.
  */
 
@@ -1488,7 +1488,7 @@ static const struct element
 					 ielen - (mbssid_end - ie));
 
 	/*
-	 * If is is not the last subelement in current MBSSID IE or there isn't
+	 * If it is not the last subelement in current MBSSID IE or there isn't
 	 * a next MBSSID IE - profile is complete.
 	*/
 	if ((sub_elem->data + sub_elem->datalen < mbssid_end - 1) ||

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 6/7] net: wireless: sme.c: delete duplicated word
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
                   ` (4 preceding siblings ...)
  2020-08-22 23:19 ` [PATCH 5/7] net: wireless: scan.c: delete or fix duplicated words Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  2020-08-22 23:19 ` [PATCH 7/7] net: wireless: wext_compat.c: " Randy Dunlap
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop the repeated word "is".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/wireless/sme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200731.orig/net/wireless/sme.c
+++ linux-next-20200731/net/wireless/sme.c
@@ -24,7 +24,7 @@
 
 /*
  * Software SME in cfg80211, using auth/assoc/deauth calls to the
- * driver. This is is for implementing nl80211's connect/disconnect
+ * driver. This is for implementing nl80211's connect/disconnect
  * and wireless extensions (if configured.)
  */
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 7/7] net: wireless: wext_compat.c: delete duplicated word
  2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
                   ` (5 preceding siblings ...)
  2020-08-22 23:19 ` [PATCH 6/7] net: wireless: sme.c: delete duplicated word Randy Dunlap
@ 2020-08-22 23:19 ` Randy Dunlap
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:19 UTC (permalink / raw)
  To: netdev; +Cc: Randy Dunlap, Johannes Berg, Kalle Valo, linux-wireless

Drop the repeated word "be".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
---
 net/wireless/wext-compat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200731.orig/net/wireless/wext-compat.c
+++ linux-next-20200731/net/wireless/wext-compat.c
@@ -497,7 +497,7 @@ static int __cfg80211_set_encryption(str
 
 	/*
 	 * We only need to store WEP keys, since they're the only keys that
-	 * can be be set before a connection is established and persist after
+	 * can be set before a connection is established and persist after
 	 * disconnecting.
 	 */
 	if (!addr && (params->cipher == WLAN_CIPHER_SUITE_WEP40 ||

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-22 23:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 23:19 [PATCH 0/7] net: wireless: delete duplicated words + other fixes Randy Dunlap
2020-08-22 23:19 ` [PATCH 1/7] net: mac80211: agg-rx.c: fix duplicated words Randy Dunlap
2020-08-22 23:19 ` [PATCH 2/7] net: mac80211: mesh.h: delete duplicated word Randy Dunlap
2020-08-22 23:19 ` [PATCH 3/7] net: wireless: delete duplicated word + fix grammar Randy Dunlap
2020-08-22 23:19 ` [PATCH 4/7] net: wireless: reg.c: delete duplicated words + fix punctuation Randy Dunlap
2020-08-22 23:19 ` [PATCH 5/7] net: wireless: scan.c: delete or fix duplicated words Randy Dunlap
2020-08-22 23:19 ` [PATCH 6/7] net: wireless: sme.c: delete duplicated word Randy Dunlap
2020-08-22 23:19 ` [PATCH 7/7] net: wireless: wext_compat.c: " Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).