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

Thomas Monjalon thomas at monjalon.net
Sun Jul 9 12:38:53 CEST 2017


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?


More information about the dev mailing list