Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build with gcc 8.2

2018-11-04 Thread Thomas Monjalon
03/11/2018 15:58, Jerin Jacob: > build_error: > > drivers/crypto/scheduler/scheduler_pmd.c: In function ‘parse_name_arg’: > drivers/crypto/scheduler/scheduler_pmd.c:372:2: error: ‘strncpy’ > specified bound 64 equals destination size [-Werror=stringop-truncation] > strncpy(params->name, value, R

[dpdk-dev] [PATCH] crypto/scheduler: fix build with gcc 8.2

2018-11-03 Thread Jerin Jacob
build_error: drivers/crypto/scheduler/scheduler_pmd.c: In function ‘parse_name_arg’: drivers/crypto/scheduler/scheduler_pmd.c:372:2: error: ‘strncpy’ specified bound 64 equals destination size [-Werror=stringop-truncation] strncpy(params->name, value, RTE_CRYPTODEV_NAME_MAX_LEN); ^

Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build

2017-07-09 Thread Thomas Monjalon
09/07/2017 11:44, Jan Blunck: > Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") > > drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop': > drivers/crypto/scheduler/scheduler_multicore.c:286:2: error: 'for' loop > initial declarations are only allowe

Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build

2017-07-09 Thread Thomas Monjalon
09/07/2017 12:43, Jan Blunck: > On Sun, Jul 9, 2017 at 6:38 AM, Thomas Monjalon wrote: > > 09/07/2017 11:44, Jan Blunck: > >> Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") > >> > >> drivers/crypto/scheduler/scheduler_multicore.c: In function > >> 'scheduler_stop': > >> dr

Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build

2017-07-09 Thread Jan Blunck
On Sun, Jul 9, 2017 at 6:38 AM, Thomas Monjalon wrote: > 09/07/2017 11:44, Jan Blunck: >> Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") >> >> drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop': >> drivers/crypto/scheduler/scheduler_multicore.c:286

Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build

2017-07-09 Thread Thomas Monjalon
09/07/2017 11:44, Jan Blunck: > Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") > > drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop': > drivers/crypto/scheduler/scheduler_multicore.c:286:2: error: 'for' loop > initial declarations are only allowe

[dpdk-dev] [PATCH] crypto/scheduler: fix build

2017-07-09 Thread Jan Blunck
Fixes 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") drivers/crypto/scheduler/scheduler_multicore.c: In function 'scheduler_stop': drivers/crypto/scheduler/scheduler_multicore.c:286:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (uint16_t i =