DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment
@ 2016-11-14  2:47 Wei Zhao
  2016-11-14 10:29 ` Mcnamara, John
  0 siblings, 1 reply; 4+ messages in thread
From: Wei Zhao @ 2016-11-14  2:47 UTC (permalink / raw)
  To: dev; +Cc: olivier.matz, zhao wei

From: zhao wei <wei.zhao1@intel.com>

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")

Signed-off-by: zhao wei <wei.zhao1@intel.com>
---
 lib/librte_mempool/rte_mempool.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h
index 440f3b1..911102b 100644
--- a/lib/librte_mempool/rte_mempool.h
+++ b/lib/librte_mempool/rte_mempool.h
@@ -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.
-- 
2.5.5

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

* Re: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment
  2016-11-14  2:47 [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment Wei Zhao
@ 2016-11-14 10:29 ` Mcnamara, John
  2016-11-15  6:54   ` Zhao1, Wei
  0 siblings, 1 reply; 4+ messages in thread
From: Mcnamara, John @ 2016-11-14 10:29 UTC (permalink / raw)
  To: Zhao1, Wei, dev; +Cc: olivier.matz, Zhao1, Wei



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Zhao
> Sent: Monday, November 14, 2016 2:47 AM
> To: dev@dpdk.org
> Cc: olivier.matz@6wind.com; Zhao1, Wei <wei.zhao1@intel.com>
> Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in
> comment
> 
> From: zhao wei <wei.zhao1@intel.com>

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

> 
> 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")
> 
> Signed-off-by: zhao wei <wei.zhao1@intel.com>

/commnet/comment/

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

Acked-by: John McNamara <john.mcnamara@intel.com>

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

* Re: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment
  2016-11-14 10:29 ` Mcnamara, John
@ 2016-11-15  6:54   ` Zhao1, Wei
  2016-11-18 14:15     ` Olivier Matz
  0 siblings, 1 reply; 4+ messages in thread
From: Zhao1, Wei @ 2016-11-15  6:54 UTC (permalink / raw)
  To: Mcnamara, John, dev; +Cc: olivier.matz

Hi, john

> -----Original Message-----
> From: Mcnamara, John
> Sent: Monday, November 14, 2016 6:30 PM
> To: Zhao1, Wei <wei.zhao1@intel.com>; dev@dpdk.org
> Cc: olivier.matz@6wind.com; Zhao1, Wei <wei.zhao1@intel.com>
> Subject: RE: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in
> comment
> 
> 
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Zhao
> > Sent: Monday, November 14, 2016 2:47 AM
> > To: dev@dpdk.org
> > Cc: olivier.matz@6wind.com; Zhao1, Wei <wei.zhao1@intel.com>
> > Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in
> > comment
> >
> > From: zhao wei <wei.zhao1@intel.com>
> 
> I think you need to add your name to gitconfig file on the sending machine to
> avoid this "From:"
> 
> >
> > 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")
> >
> > Signed-off-by: zhao wei <wei.zhao1@intel.com>
> 
> /commnet/comment/
> 
> And same comment as before about the title. Apart from that:
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>
> 
> 

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

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

* Re: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment
  2016-11-15  6:54   ` Zhao1, Wei
@ 2016-11-18 14:15     ` Olivier Matz
  0 siblings, 0 replies; 4+ messages in thread
From: Olivier Matz @ 2016-11-18 14:15 UTC (permalink / raw)
  To: Zhao1, Wei, Mcnamara, John, dev

Hi Wei,

2lOn 11/15/2016 07:54 AM, Zhao1, Wei wrote:
> Hi, john
> 
>> -----Original Message-----
>> From: Mcnamara, John
>> Sent: Monday, November 14, 2016 6:30 PM
>> To: Zhao1, Wei <wei.zhao1@intel.com>; dev@dpdk.org
>> Cc: olivier.matz@6wind.com; Zhao1, Wei <wei.zhao1@intel.com>
>> Subject: RE: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in
>> comment
>>
>>
>>
>>> -----Original Message-----
>>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Zhao
>>> Sent: Monday, November 14, 2016 2:47 AM
>>> To: dev@dpdk.org
>>> Cc: olivier.matz@6wind.com; Zhao1, Wei <wei.zhao1@intel.com>
>>> Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in
>>> comment
>>>
>>> From: zhao wei <wei.zhao1@intel.com>
>>
>> I think you need to add your name to gitconfig file on the sending machine to
>> avoid this "From:"
>>
>>>
>>> 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.


>>>
>>> Signed-off-by: zhao wei <wei.zhao1@intel.com>
>>
>> /commnet/comment/
>>
>> And same comment as before about the title. Apart from that:
>>
>> Acked-by: John McNamara <john.mcnamara@intel.com>
>>
>>
> 
> 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

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

end of thread, other threads:[~2016-11-18 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14  2:47 [dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment Wei Zhao
2016-11-14 10:29 ` Mcnamara, John
2016-11-15  6:54   ` Zhao1, Wei
2016-11-18 14:15     ` Olivier Matz

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).