Skip to contentSkip to conversation

net: qed: drop duplicate words in comments

PATCH Applied Randy Dunlap 2 participants 12 messages Jul 15, 2020 – Jul 16, 2020

Subsystems (7)
lore
Share & tools
lore
#1 lore raw

PATCH v2 2/9 net: skbuff.h: drop duplicate words in comments

In reply to Randy Dunlap

Drop doubled words in several comments.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/linux/skbuff.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/skbuff.h +2 -2
@@ -1329,7 +1329,7 @@ void skb_flow_dissect_meta(const struct
 			   void *target_container);
 
 /* Gets a skb connection tracking info, ctinfo map should be a
- * a map of mapsize to translate enum ip_conntrack_info states
+ * map of mapsize to translate enum ip_conntrack_info states
  * to user states.
  */
 void
@@ -3813,7 +3813,7 @@ static inline bool skb_defer_rx_timestam
  * must call this function to return the skb back to the stack with a
  * timestamp.
  *
- * @skb: clone of the the original outgoing packet
+ * @skb: clone of the original outgoing packet
  * @hwtstamps: hardware time stamps
  *
  */
#9 lore raw

PATCH v2 7/9 net: ip6_fib.h: drop duplicate word in comment

In reply to Randy Dunlap

Drop doubled word "the" in a comment.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/net/ip6_fib.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/ip6_fib.h +1 -1
@@ -166,7 +166,7 @@ struct fib6_info {
 	struct fib6_node __rcu		*fib6_node;
 
 	/* Multipath routes:
-	 * siblings is a list of fib6_info that have the the same metric/weight,
+	 * siblings is a list of fib6_info that have the same metric/weight,
 	 * destination, but not the same gateway. nsiblings is just a cache
 	 * to speed up lookup.
 	 */
#11 lore raw

PATCH v2 9/9 net: ipv6: drop duplicate word in comment

In reply to Randy Dunlap

Drop the doubled word "by" in a comment.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series, though this one
is a new patch.

 include/linux/ipv6.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ipv6.h +1 -1
@@ -223,7 +223,7 @@ struct ipv6_pinfo {
 
 	/*
 	 * Packed in 16bits.
-	 * Omit one shift by by putting the signed field at MSB.
+	 * Omit one shift by putting the signed field at MSB.
 	 */
 #if defined(__BIG_ENDIAN_BITFIELD)
 	__s16			hop_limit:9;
#8 lore raw

PATCH v2 6/9 net: dsa.h: drop duplicate word in comment

In reply to Randy Dunlap

Drop doubled word "to" in a comment.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/net/dsa.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/dsa.h +1 -1
@@ -612,7 +612,7 @@ struct dsa_switch_ops {
 	 * MTU change functionality. Switches can also adjust their MRU through
 	 * this method. By MTU, one understands the SDU (L2 payload) length.
 	 * If the switch needs to account for the DSA tag on the CPU port, this
-	 * method needs to to do so privately.
+	 * method needs to do so privately.
 	 */
 	int	(*port_change_mtu)(struct dsa_switch *ds, int port,
 				   int new_mtu);
#0 lore raw

PATCH v2 1/9 net: qed: drop duplicate words in comments

Drop doubled word "the" in two comments.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/linux/qed/qed_chain.h |    2 +-
 include/linux/qed/qed_if.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/qed/qed_chain.h +1 -1
@@ -130,7 +130,7 @@ struct qed_chain {
 	} pbl_sp;
 
 	/* Address of first page of the chain - the address is required
-	 * for fastpath operation [consume/produce] but only for the the SINGLE
+	 * for fastpath operation [consume/produce] but only for the SINGLE
 	 * flavour which isn't considered fastpath [== SPQ].
 	 */
 	void *p_virt_addr;
include/linux/qed/qed_if.h +1 -1
@@ -498,7 +498,7 @@ struct qed_fcoe_pf_params {
 	u8 bdq_pbl_num_entries[2];
 };
 
-/* Most of the the parameters below are described in the FW iSCSI / TCP HSI */
+/* Most of the parameters below are described in the FW iSCSI / TCP HSI */
 struct qed_iscsi_pf_params {
 	u64 glbl_q_params_addr;
 	u64 bdq_pbl_base_addr[3];
#2 lore raw

PATCH v2 3/9 net: wimax: fix duplicate words in comments

Drop doubled words in two comments.
Fix a spello/typo.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/linux/wimax/debug.h |    4 ++--
 include/net/wimax.h         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
include/linux/wimax/debug.h +2 -2
@@ -184,8 +184,8 @@ do {									\
 
 
 /*
- * CPP sintatic sugar to generate A_B like symbol names when one of
- * the arguments is a a preprocessor #define.
+ * CPP syntatic sugar to generate A_B like symbol names when one of
+ * the arguments is a preprocessor #define.
  */
 #define __D_PASTE__(varname, modulename) varname##_##modulename
 #define __D_PASTE(varname, modulename) (__D_PASTE__(varname, modulename))
include/net/wimax.h +1 -1
@@ -28,7 +28,7 @@
  *
  * USAGE
  *
- * Embed a `struct wimax_dev` at the beginning of the the device's
+ * Embed a `struct wimax_dev` at the beginning of the device's
  * private structure, initialize and register it. For details, see
  * `struct wimax_dev`s documentation.
  *
#10 lore raw

PATCH v2 8/9 net: sctp: drop duplicate words in comments

In reply to Randy Dunlap

Drop doubled words in several comments.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/net/sctp/sctp.h    |    2 +-
 include/net/sctp/structs.h |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
include/net/sctp/sctp.h +1 -1
@@ -291,7 +291,7 @@ atomic_dec(&sctp_dbg_objcnt_## name)
 #define SCTP_DBG_OBJCNT(name) \
 atomic_t sctp_dbg_objcnt_## name = ATOMIC_INIT(0)
 
-/* Macro to help create new entries in in the global array of
+/* Macro to help create new entries in the global array of
  * objcnt counters.
  */
 #define SCTP_DBG_OBJCNT_ENTRY(name) \
include/net/sctp/structs.h +3 -3
@@ -1398,7 +1398,7 @@ struct sctp_stream_priorities {
 	struct list_head prio_sched;
 	/* List of streams scheduled */
 	struct list_head active;
-	/* The next stream stream in line */
+	/* The next stream in line */
 	struct sctp_stream_out_ext *next;
 	__u16 prio;
 };
@@ -1460,7 +1460,7 @@ struct sctp_stream {
 		struct {
 			/* List of streams scheduled */
 			struct list_head rr_list;
-			/* The next stream stream in line */
+			/* The next stream in line */
 			struct sctp_stream_out_ext *rr_next;
 		};
 	};
@@ -1770,7 +1770,7 @@ struct sctp_association {
 	int max_burst;
 
 	/* This is the max_retrans value for the association.  This value will
-	 * be initialized initialized from system defaults, but can be
+	 * be initialized from system defaults, but can be
 	 * modified by the SCTP_ASSOCINFO socket option.
 	 */
 	int max_retrans;
#6 lore raw

PATCH v2 4/9 net: 9p: drop duplicate word in comment

In reply to Randy Dunlap

Drop doubled word "not" in a comment.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/net/9p/transport.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/9p/transport.h +1 -1
@@ -25,7 +25,7 @@
  * @request: member function to issue a request to the transport
  * @cancel: member function to cancel a request (if it hasn't been sent)
  * @cancelled: member function to notify that a cancelled request will not
- *             not receive a reply
+ *             receive a reply
  *
  * This is the basic API for a transport module which is registered by the
  * transport module with the 9P core network module and used by the client
#7 lore raw

PATCH v2 5/9 net: caif: drop duplicate words in comments

In reply to Randy Dunlap

Drop doubled words "or" and "the" in several comments.

Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>

---
v2: move wireless patches to a separate patch series.

 include/net/caif/caif_layer.h         |    4 ++--
 include/uapi/linux/caif/caif_socket.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
include/net/caif/caif_layer.h +2 -2
@@ -156,7 +156,7 @@ struct cflayer {
 	 *  CAIF packets upwards in the stack.
 	 *	Packet handling rules:
 	 *	      - The CAIF packet (cfpkt) ownership is passed to the
-	 *		called receive function. This means that the the
+	 *		called receive function. This means that the
 	 *		packet cannot be accessed after passing it to the
 	 *		above layer using up->receive().
 	 *
@@ -184,7 +184,7 @@ struct cflayer {
 	 *	CAIF packet downwards in the stack.
 	 *	Packet handling rules:
 	 *	      - The CAIF packet (cfpkt) ownership is passed to the
-	 *		transmit function. This means that the the packet
+	 *		transmit function. This means that the packet
 	 *		cannot be accessed after passing it to the below
 	 *		layer using dn->transmit().
 	 *
include/uapi/linux/caif/caif_socket.h +1 -1
@@ -169,7 +169,7 @@ struct sockaddr_caif {
  * @CAIFSO_LINK_SELECT:		Selector used if multiple CAIF Link layers are
  *				available. Either a high bandwidth
  *				link can be selected (CAIF_LINK_HIGH_BANDW) or
- *				or a low latency link (CAIF_LINK_LOW_LATENCY).
+ *				a low latency link (CAIF_LINK_LOW_LATENCY).
  *                              This option is of type __u32.
  *				Alternatively SO_BINDTODEVICE can be used.
  *
maintainer
#3 lore raw

Re: [PATCH 3/9 v2 net-next] net: wimax: fix duplicate words in comments

In reply to Randy Dunlap
Quoted 4 lines · On Wed, 15 Jul 2020 09:42:40 -0700 Randy Dunlap wrote:

/*
- * CPP sintatic sugar to generate A_B like symbol names when one of
- * the arguments is a a preprocessor #define.
+ * CPP syntatic sugar to generate A_B like symbol names when one of

synta*c*tic

Let me fix that up before applying.

Quoted 2 lines

+ * the arguments is a preprocessor #define.
*/

#4 lore raw

Re: [PATCH 3/9 v2 net-next] net: wimax: fix duplicate words in comments

Quoted 9 lines · Jakub Kicinski
Quoted 4 lines · On Wed, 15 Jul 2020 09:42:40 -0700 Randy Dunlap wrote:

/*
- * CPP sintatic sugar to generate A_B like symbol names when one of
- * the arguments is a a preprocessor #define.
+ * CPP syntatic sugar to generate A_B like symbol names when one of

synta*c*tic

Let me fix that up before applying.

eww. Thanks.

Quoted 3 lines
Quoted 2 lines

+ * the arguments is a preprocessor #define.
*/

Signature · 1 line
~Randy
maintainer Applied
#5 lore raw

Re: [PATCH 3/9 v2 net-next] net: wimax: fix duplicate words in comments

Quoted 7 lines · On Wed, 15 Jul 2020 20:35:34 -0700 Randy Dunlap wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 4 lines · On Wed, 15 Jul 2020 09:42:40 -0700 Randy Dunlap wrote:

/*
- * CPP sintatic sugar to generate A_B like symbol names when one of
- * the arguments is a a preprocessor #define.
+ * CPP syntatic sugar to generate A_B like symbol names when one of

Quoted 5 lines
Quoted 3 lines

synta*c*tic

Let me fix that up before applying.

eww. Thanks.

Applied, pushed. Thanks!