Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread Thomas Monjalon
17/02/2020 14:06, Jerin Jacob: > On Mon, Feb 17, 2020 at 1:39 PM wrote: > > > > From: Tao Zhu > > > > Change the definition of C99 style to C90 style. > > compile log as below: > > > > otx2_mempool_ops.c: In function ‘otx2_npa_populate’: > > /dpdk/drivers/mempool/octeontx2/otx2_mempool_ops.c:790:

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread Thomas Monjalon
17/02/2020 19:04, Jeremy Plsek: > On Mon, Feb 17, 2020 at 9:57 AM David Marchand > wrote: > > > > Jeremy, > > > > On Mon, Feb 17, 2020 at 12:19 PM David Marchand > > wrote: > > > > > > This patch has been sent with a date in the future. > > > Date: Mon, 17 Feb 2020 16:43:45 + > > > > > > Plea

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread Jeremy Plsek
On Mon, Feb 17, 2020 at 9:57 AM David Marchand wrote: > > Jeremy, > > On Mon, Feb 17, 2020 at 12:19 PM David Marchand > wrote: > > > > This patch has been sent with a date in the future. > > Date: Mon, 17 Feb 2020 16:43:45 + > > > > Please fix your mail setup, this triggers an error with meso

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread David Marchand
On Mon, Feb 17, 2020 at 2:06 PM Jerin Jacob wrote: > > On Mon, Feb 17, 2020 at 1:39 PM wrote: > > > > From: Tao Zhu > > > > Change the definition of C99 style to C90 style. > > compile log as below: > > > > otx2_mempool_ops.c: In function ‘otx2_npa_populate’: > > /dpdk/drivers/mempool/octeontx2/

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread David Marchand
Jeremy, On Mon, Feb 17, 2020 at 12:19 PM David Marchand wrote: > > This patch has been sent with a date in the future. > Date: Mon, 17 Feb 2020 16:43:45 + > > Please fix your mail setup, this triggers an error with meson in UNH > CI (at least). Do you use the tools/pwclient script from dpdk-

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread Jerin Jacob
On Mon, Feb 17, 2020 at 1:39 PM wrote: > > From: Tao Zhu > > Change the definition of C99 style to C90 style. > compile log as below: > > otx2_mempool_ops.c: In function ‘otx2_npa_populate’: > /dpdk/drivers/mempool/octeontx2/otx2_mempool_ops.c:790:2: error: \ > ‘for’ loop initial declarat

Re: [dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread David Marchand
This patch has been sent with a date in the future. Date: Mon, 17 Feb 2020 16:43:45 + Please fix your mail setup, this triggers an error with meson in UNH CI (at least). -- David Marchand On Mon, Feb 17, 2020 at 9:09 AM wrote: > > From: Tao Zhu > > Change the definition of C99 style to C

[dpdk-dev] [PATCH] mempool/octeontx2: fix compile issue

2020-02-17 Thread taox . zhu
From: Tao Zhu Change the definition of C99 style to C90 style. compile log as below: otx2_mempool_ops.c: In function ‘otx2_npa_populate’: /dpdk/drivers/mempool/octeontx2/otx2_mempool_ops.c:790:2: error: \ ‘for’ loop initial declarations are only allowed in C99 mode for (int i = 0; i <