DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org, Ferruh Yigit <ferruh.yigit@xilinx.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: Re: [PATCH 10/11] ethdev: fix repeated word in comment
Date: Mon, 25 Jul 2022 08:25:57 +0200	[thread overview]
Message-ID: <2638615.mvXUDI8C0e@thomas> (raw)
In-Reply-To: <20220722214106.162640-11-stephen@networkplumber.org>

22/07/2022 23:41, Stephen Hemminger:
> Replace 'of of'
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/ethdev/rte_ethdev.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index de9e970d4d11..701eac328fe6 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -3356,7 +3356,7 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma,
>  /**
>   * Retrieve the contextual information of an Ethernet device.
>   *
> - * As part of this function, a number of of fields in dev_info will be
> + * As part of this function, a number of fields in dev_info will be
>   * initialized as follows:
>   *
>   * rx_desc_lim = lim

This comment is the code of the function.
That's very unusual and should be completely removed in my opinion,
instead of just fixing the repeated word.




  reply	other threads:[~2022-07-25  6:26 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 21:40 [PATCH 00/11] Fix repeated words in comments and messages Stephen Hemminger
2022-07-22 21:40 ` [PATCH 01/11] remove duplicated 'to to' in messages and comments Stephen Hemminger
2022-07-22 21:40 ` [PATCH 02/11] remove duplicate words 'is is' Stephen Hemminger
2022-07-22 21:40 ` [PATCH 03/11] mvnet,mvpp2: remove duplicate word Stephen Hemminger
2022-07-23 18:23   ` [EXT] " Liron Himi
2022-07-22 21:40 ` [PATCH 04/11] Remove repeated word 'on on' Stephen Hemminger
2022-07-22 21:41 ` [PATCH 05/11] fix repeated words 'in in' Stephen Hemminger
2022-07-22 21:41 ` [PATCH 06/11] ring: fix repeated word in comment Stephen Hemminger
2022-07-22 21:41 ` [PATCH 07/11] i40e,igc: fix duplicate word than Stephen Hemminger
2022-07-22 21:41 ` [PATCH 08/11] bnx2x, pcap: replace only only Stephen Hemminger
2022-07-22 21:41 ` [PATCH 09/11] distrubutor: fix repeated word in comment Stephen Hemminger
2022-07-22 21:41 ` [PATCH 10/11] ethdev: " Stephen Hemminger
2022-07-25  6:25   ` Thomas Monjalon [this message]
2022-07-22 21:41 ` [PATCH 11/11] cxgbe: replace 'or or' " Stephen Hemminger
2022-07-25  8:40 ` [PATCH 00/11] Fix repeated words in comments and messages Bruce Richardson
2022-07-26  3:34 ` [PATCH v2 00/20] Remove " Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 01/20] ethdev: reword dev_info_get description Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 02/20] remove repeated word 'to' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 03/20] remove repeated word 'is' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 04/20] remove repeated word 'same' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 05/20] remove repeated word 'on' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 06/20] remove repeated word 'in' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 07/20] remove repeated word 'this' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 08/20] remove repeated word 'then' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 09/20] remove repeated word 'only' Stephen Hemminger
2022-07-26 10:07     ` [EXT] " Rasesh Mody
2022-07-26  3:34   ` [PATCH v2 10/20] remove repeated word 'worker' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 11/20] remove repeated word 'or' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 12/20] remove repeated word 'table' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 13/20] remove repeated word 'that' Stephen Hemminger
2022-07-26  5:55     ` Niklas Soderlund
2022-07-26  3:34   ` [PATCH v2 14/20] remove repeated word 'override' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 15/20] remove repeated word 'groups' Stephen Hemminger
2022-07-26  3:34   ` [PATCH v2 16/20] remove repeated word 'page' Stephen Hemminger
2022-07-26  3:35   ` [PATCH v2 17/20] remove repeated word 'individual' Stephen Hemminger
2022-07-26  3:35   ` [PATCH v2 18/20] remove repeated word 'expected' Stephen Hemminger
2022-07-26  3:35   ` [PATCH v2 19/20] remove repeated word 'be' Stephen Hemminger
2022-07-26  9:10     ` [EXT] " Devendra Singh Rawat
2022-07-26 10:09     ` Rasesh Mody
2022-07-26  3:35   ` [PATCH v2 20/20] remove repeated word 'all' Stephen Hemminger
2022-07-26 16:30 ` [PATCH v3 00/20] Remove repeated words in comments and messages Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 01/20] ethdev: reword dev_info_get description Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 02/20] remove repeated word 'to' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 03/20] remove repeated word 'is' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 04/20] remove repeated word 'same' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 05/20] remove repeated word 'on' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 06/20] remove repeated word 'in' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 07/20] remove repeated word 'this' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 08/20] remove repeated word 'then' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 09/20] remove repeated word 'only' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 10/20] remove repeated word 'worker' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 11/20] remove repeated word 'or' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 12/20] remove repeated word 'table' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 13/20] remove repeated word 'that' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 14/20] remove repeated word 'override' Stephen Hemminger
2022-07-26 16:42     ` Hemant Agrawal
2022-07-26 16:30   ` [PATCH v3 15/20] remove repeated word 'groups' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 16/20] remove repeated word 'page' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 17/20] remove repeated word 'individual' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 18/20] remove repeated word 'expected' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 19/20] remove repeated word 'be' Stephen Hemminger
2022-07-26 16:30   ` [PATCH v3 20/20] remove repeated word 'all' Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2638615.mvXUDI8C0e@thomas \
    --to=thomas@monjalon.net \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@xilinx.com \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).