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

Thomas Monjalon thomas at monjalon.net
Sun Jul 9 17:05:22 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++)
>   ^
> compilation terminated due to -Wfatal-errors.
> mk/internal/rte.compile-pre.mk:138: recipe for target 'scheduler_multicore.o'
>  failed
> make[4]: *** [scheduler_multicore.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> 
> Signed-off-by: Jan Blunck <jblunck at infradead.org>

Applied, thanks


More information about the dev mailing list