* [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments
@ 2020-07-15 16:43 Randy Dunlap
2020-07-15 16:43 ` [PATCH 2/5 -next] net/wireless: wireless.h: drop duplicate word " Randy Dunlap
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-07-15 16:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, netdev, Kalle Valo, linux-wireless, Johannes Berg
Drop doubled words in several comments.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
---
include/uapi/linux/nl80211.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--- linux-next-20200714.orig/include/uapi/linux/nl80211.h
+++ linux-next-20200714/include/uapi/linux/nl80211.h
@@ -363,7 +363,7 @@
* @NL80211_CMD_SET_STATION: Set station attributes for station identified by
* %NL80211_ATTR_MAC on the interface identified by %NL80211_ATTR_IFINDEX.
* @NL80211_CMD_NEW_STATION: Add a station with given attributes to the
- * the interface identified by %NL80211_ATTR_IFINDEX.
+ * interface identified by %NL80211_ATTR_IFINDEX.
* @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC
* or, if no MAC address given, all stations, on the interface identified
* by %NL80211_ATTR_IFINDEX. %NL80211_ATTR_MGMT_SUBTYPE and
@@ -383,7 +383,7 @@
* @NL80211_CMD_DEL_MPATH: Delete a mesh path to the destination given by
* %NL80211_ATTR_MAC.
* @NL80211_CMD_NEW_PATH: Add a mesh path with given attributes to the
- * the interface identified by %NL80211_ATTR_IFINDEX.
+ * interface identified by %NL80211_ATTR_IFINDEX.
* @NL80211_CMD_DEL_PATH: Remove a mesh path identified by %NL80211_ATTR_MAC
* or, if no MAC address given, all mesh paths, on the interface identified
* by %NL80211_ATTR_IFINDEX.
@@ -934,7 +934,7 @@
* @NL80211_CMD_SET_COALESCE: Configure coalesce rules or clear existing rules.
*
* @NL80211_CMD_CHANNEL_SWITCH: Perform a channel switch by announcing the
- * the new channel information (Channel Switch Announcement - CSA)
+ * new channel information (Channel Switch Announcement - CSA)
* in the beacon for some time (as defined in the
* %NL80211_ATTR_CH_SWITCH_COUNT parameter) and then change to the
* new channel. Userspace provides the new channel information (using
@@ -1113,7 +1113,7 @@
* randomization may be enabled and configured by specifying the
* %NL80211_ATTR_MAC and %NL80211_ATTR_MAC_MASK attributes.
* If a timeout is requested, use the %NL80211_ATTR_TIMEOUT attribute.
- * A u64 cookie for further %NL80211_ATTR_COOKIE use is is returned in
+ * A u64 cookie for further %NL80211_ATTR_COOKIE use is returned in
* the netlink extended ack message.
*
* To cancel a measurement, close the socket that requested it.
@@ -1511,7 +1511,7 @@ enum nl80211_commands {
* rates as defined by IEEE 802.11 7.3.2.2 but without the length
* restriction (at most %NL80211_MAX_SUPP_RATES).
* @NL80211_ATTR_STA_VLAN: interface index of VLAN interface to move station
- * to, or the AP interface the station was originally added to to.
+ * to, or the AP interface the station was originally added to.
* @NL80211_ATTR_STA_INFO: information about a station, part of station info
* given for %NL80211_CMD_GET_STATION, nested attribute containing
* info as possible, see &enum nl80211_sta_info.
@@ -2084,7 +2084,7 @@ enum nl80211_commands {
* @NL80211_ATTR_STA_SUPPORTED_CHANNELS: array of supported channels.
*
* @NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES: array of supported
- * supported operating classes.
+ * operating classes.
*
* @NL80211_ATTR_HANDLE_DFS: A flag indicating whether user space
* controls DFS operation in IBSS mode. If the flag is included in
@@ -2395,7 +2395,7 @@ enum nl80211_commands {
* nl80211_txq_stats)
* @NL80211_ATTR_TXQ_LIMIT: Total packet limit for the TXQ queues for this phy.
* The smaller of this and the memory limit is enforced.
- * @NL80211_ATTR_TXQ_MEMORY_LIMIT: Total memory memory limit (in bytes) for the
+ * @NL80211_ATTR_TXQ_MEMORY_LIMIT: Total memory limit (in bytes) for the
* TXQ queues for this phy. The smaller of this and the packet limit is
* enforced.
* @NL80211_ATTR_TXQ_QUANTUM: TXQ scheduler quantum (bytes). Number of bytes
@@ -5636,7 +5636,7 @@ enum nl80211_feature_flags {
* enum nl80211_ext_feature_index - bit index of extended features.
* @NL80211_EXT_FEATURE_VHT_IBSS: This driver supports IBSS with VHT datarates.
* @NL80211_EXT_FEATURE_RRM: This driver supports RRM. When featured, user can
- * can request to use RRM (see %NL80211_ATTR_USE_RRM) with
+ * request to use RRM (see %NL80211_ATTR_USE_RRM) with
* %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
* the ASSOC_REQ_USE_RRM flag in the association request even if
* NL80211_FEATURE_QUIET is not advertized.
@@ -6045,7 +6045,7 @@ enum nl80211_dfs_state {
};
/**
- * enum enum nl80211_protocol_features - nl80211 protocol features
+ * enum nl80211_protocol_features - nl80211 protocol features
* @NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP: nl80211 supports splitting
* wiphy dumps (if requested by the application with the attribute
* %NL80211_ATTR_SPLIT_WIPHY_DUMP. Also supported is filtering the
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/5 -next] net/wireless: wireless.h: drop duplicate word in comments
2020-07-15 16:43 [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments Randy Dunlap
@ 2020-07-15 16:43 ` Randy Dunlap
2020-07-15 16:43 ` [PATCH 3/5 -next] net/wireless: cfg80211.h: drop duplicate words " Randy Dunlap
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-07-15 16:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, netdev, Kalle Valo, linux-wireless, Johannes Berg
Drop doubled word "threshold" in a comment.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
---
include/uapi/linux/wireless.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/uapi/linux/wireless.h
+++ linux-next-20200714/include/uapi/linux/wireless.h
@@ -914,7 +914,7 @@ union iwreq_data {
struct iw_param sens; /* signal level threshold */
struct iw_param bitrate; /* default bit rate */
struct iw_param txpower; /* default transmit power */
- struct iw_param rts; /* RTS threshold threshold */
+ struct iw_param rts; /* RTS threshold */
struct iw_param frag; /* Fragmentation threshold */
__u32 mode; /* Operation mode */
struct iw_param retry; /* Retry limits & lifetime */
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/5 -next] net/wireless: cfg80211.h: drop duplicate words in comments
2020-07-15 16:43 [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments Randy Dunlap
2020-07-15 16:43 ` [PATCH 2/5 -next] net/wireless: wireless.h: drop duplicate word " Randy Dunlap
@ 2020-07-15 16:43 ` Randy Dunlap
2020-07-15 16:43 ` [PATCH 4/5 -next] net/wireless: mac80211.h: " Randy Dunlap
2020-07-15 16:43 ` [PATCH 5/5 -next] net/wireless: regulatory.h: drop duplicate word in comment Randy Dunlap
3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-07-15 16:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, netdev, Kalle Valo, linux-wireless, Johannes Berg
Drop doubled word "by" in a comment.
Change "operate in in" to "operate with in" as is used below.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
---
include/net/cfg80211.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20200714.orig/include/net/cfg80211.h
+++ linux-next-20200714/include/net/cfg80211.h
@@ -423,7 +423,7 @@ struct ieee80211_edmg {
* This structure describes a frequency band a wiphy
* is able to operate in.
*
- * @channels: Array of channels the hardware can operate in
+ * @channels: Array of channels the hardware can operate with
* in this band.
* @band: the band this structure represents
* @n_channels: Number of channels in @channels
@@ -5510,7 +5510,7 @@ static inline int ieee80211_data_to_8023
*
* @skb: The input A-MSDU frame without any headers.
* @list: The output list of 802.3 frames. It must be allocated and
- * initialized by by the caller.
+ * initialized by the caller.
* @addr: The device MAC address.
* @iftype: The device interface type.
* @extra_headroom: The hardware extra headroom for SKBs in the @list.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 4/5 -next] net/wireless: mac80211.h: drop duplicate words in comments
2020-07-15 16:43 [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments Randy Dunlap
2020-07-15 16:43 ` [PATCH 2/5 -next] net/wireless: wireless.h: drop duplicate word " Randy Dunlap
2020-07-15 16:43 ` [PATCH 3/5 -next] net/wireless: cfg80211.h: drop duplicate words " Randy Dunlap
@ 2020-07-15 16:43 ` Randy Dunlap
2020-07-15 16:43 ` [PATCH 5/5 -next] net/wireless: regulatory.h: drop duplicate word in comment Randy Dunlap
3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-07-15 16:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, netdev, Kalle Valo, linux-wireless, Johannes Berg
Drop doubled words "are" and "by" in comments.
Change doubled "to to" to "to the".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
---
include/net/mac80211.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20200714.orig/include/net/mac80211.h
+++ linux-next-20200714/include/net/mac80211.h
@@ -2727,7 +2727,7 @@ void ieee80211_free_txskb(struct ieee802
* for devices that support offload of data packets (e.g. ARP responses).
*
* Mac80211 drivers should set the @NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 flag
- * when they are able to replace in-use PTK keys according to to following
+ * when they are able to replace in-use PTK keys according to the following
* requirements:
* 1) They do not hand over frames decrypted with the old key to
mac80211 once the call to set_key() with command %DISABLE_KEY has been
@@ -4709,7 +4709,7 @@ void ieee80211_tx_status_irqsafe(struct
*
* Call this function for all transmitted data frames after their transmit
* completion. This callback should only be called for data frames which
- * are are using driver's (or hardware's) offload capability of encap/decap
+ * are using driver's (or hardware's) offload capability of encap/decap
* 802.11 frames.
*
* This function may not be called in IRQ context. Calls to this function
@@ -6344,7 +6344,7 @@ void ieee80211_unreserve_tid(struct ieee
*
* Note that this must be called in an rcu_read_lock() critical section,
* which can only be released after the SKB was handled. Some pointers in
- * skb->cb, e.g. the key pointer, are protected by by RCU and thus the
+ * skb->cb, e.g. the key pointer, are protected by RCU and thus the
* critical section must persist not just for the duration of this call
* but for the duration of the frame handling.
* However, also note that while in the wake_tx_queue() method,
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 5/5 -next] net/wireless: regulatory.h: drop duplicate word in comment
2020-07-15 16:43 [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments Randy Dunlap
` (2 preceding siblings ...)
2020-07-15 16:43 ` [PATCH 4/5 -next] net/wireless: mac80211.h: " Randy Dunlap
@ 2020-07-15 16:43 ` Randy Dunlap
3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-07-15 16:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, netdev, Kalle Valo, linux-wireless, Johannes Berg
Drop doubled word "of" in a comment.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
---
include/net/regulatory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/net/regulatory.h
+++ linux-next-20200714/include/net/regulatory.h
@@ -44,7 +44,7 @@ enum environment_cap {
* and potentially inform users of which devices specifically
* cased the conflicts.
* @initiator: indicates who sent this request, could be any of
- * of those set in nl80211_reg_initiator (%NL80211_REGDOM_SET_BY_*)
+ * those set in nl80211_reg_initiator (%NL80211_REGDOM_SET_BY_*)
* @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
* regulatory domain. We have a few special codes:
* 00 - World regulatory domain
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-07-15 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 16:43 [PATCH 1/5 -next] net/wireless: nl80211.h: drop duplicate words in comments Randy Dunlap
2020-07-15 16:43 ` [PATCH 2/5 -next] net/wireless: wireless.h: drop duplicate word " Randy Dunlap
2020-07-15 16:43 ` [PATCH 3/5 -next] net/wireless: cfg80211.h: drop duplicate words " Randy Dunlap
2020-07-15 16:43 ` [PATCH 4/5 -next] net/wireless: mac80211.h: " Randy Dunlap
2020-07-15 16:43 ` [PATCH 5/5 -next] net/wireless: regulatory.h: drop duplicate word in comment 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).