Skip to contentSkip to conversation

lib/librte_mempool: a redundant word in comment

PATCH In review Wei Zhao 3 participants 4 messages Nov 14, 2016 – Nov 18, 2016

lore
Share & tools
lore

Wei Zhao

author
#0 lore raw

PATCH 1/1 lib/librte_mempool: a redundant word in comment

From: zhao wei <[email protected]>

There is a redundant repetition word "for" in commnet line the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it.

Fixes 449c49b93a6b ("lib/librte_mempool: mempool: support handler

operations")

---
 lib/librte_mempool/rte_mempool.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_mempool/rte_mempool.h +1 -1
index 440f3b1..911102b 100644
@@ -357,7 +357,7 @@ void rte_mempool_check_cookies(const struct rte_mempool *mp,
  * Prototype for implementation specific data provisioning function.
  *
  * The function should provide the implementation specific memory for
- * for use by the other mempool ops functions in a given mempool ops struct.
+ * use by the other mempool ops functions in a given mempool ops struct.
  * E.g. the default ops provides an instance of the rte_ring for this purpose.
  * it will most likely point to a different type of data structure, and
  * will be transparent to the application programmer.
Signature · 1 line
2.5.5
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Wei Zhao
Sent: Monday, November 14, 2016 2:47 AM
To: [email protected]
Cc: [email protected]; Zhao1, Wei <[email protected]>
Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

From: zhao wei <[email protected]>

I think you need to add your name to gitconfig file on the sending machine to avoid this "From:"

Quoted 10 lines

There is a redundant repetition word "for" in commnet line the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it.

Fixes 449c49b93a6b ("lib/librte_mempool: mempool: support handler

operations")

/commnet/comment/

And same comment as before about the title. Apart from that:

author
#2 lore raw

Hi, john

Quoted 32 lines

-----Original Message-----
From: Mcnamara, John
Sent: Monday, November 14, 2016 6:30 PM
To: Zhao1, Wei <[email protected]>; [email protected]
Cc: [email protected]; Zhao1, Wei <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Wei Zhao
Sent: Monday, November 14, 2016 2:47 AM
To: [email protected]
Cc: [email protected]; Zhao1, Wei <[email protected]>
Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

From: zhao wei <[email protected]>

I think you need to add your name to gitconfig file on the sending machine to avoid this "From:"

Quoted 9 lines

There is a redundant repetition word "for" in commnet line the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it.

Fixes 449c49b93a6b ("lib/librte_mempool: mempool: support handler

operations")

Quoted 9 lines
Quoted 1 line

/commnet/comment/

And same comment as before about the title. Apart from that:

Thank you for your suggestion, I will change as your comment in following patch!

#3 lore raw

Hi Wei,

Quoted 33 lines · Wei

Hi, john

Quoted 31 lines

-----Original Message-----
From: Mcnamara, John
Sent: Monday, November 14, 2016 6:30 PM
To: Zhao1, Wei <[email protected]>; [email protected]
Cc: [email protected]; Zhao1, Wei <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Wei Zhao
Sent: Monday, November 14, 2016 2:47 AM
To: [email protected]
Cc: [email protected]; Zhao1, Wei <[email protected]>
Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

From: zhao wei <[email protected]>

I think you need to add your name to gitconfig file on the sending machine to avoid this "From:"

Quoted 8 lines

There is a redundant repetition word "for" in commnet line the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it.

Fixes 449c49b93a6b ("lib/librte_mempool: mempool: support handler

operations")

The proper fixline should be:

Fixes 449c49b93a6b ("mempool: support handler operations")

(no need to add "lib/librte_mempool:")
This comment also applies to the other patch, I missed it.

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

/commnet/comment/

Quoted 8 lines
Quoted 5 lines

And same comment as before about the title. Apart from that:

Thank you for your suggestion, I will change as your comment in following patch!

Also same comment about "mempool:" instead of "lib/librte_mempool: mempool:"

Thanks,
Olivier