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

Jan Blunck jblunck at infradead.org
Sun Jul 9 12:43:39 CEST 2017


On Sun, Jul 9, 2017 at 6:38 AM, Thomas Monjalon <thomas at monjalon.net> 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:2: error: 'for' loop
>>  initial declarations are only allowed in C99 or C11 mode
>>   for (uint16_t i = 0; i < sched_ctx->nb_wc; i++)
>>   ^
>
> I wonder why I have not spotted it.
> What is your compiler? which version?

This is with Debian Jessie:

gcc version 4.9.2 (Debian 4.9.2-10)


More information about the dev mailing list