crypto/scheduler: fix build with old gcc
authorJan Blunck <jblunck@infradead.org>
Sun, 9 Jul 2017 09:44:16 +0000 (05:44 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 9 Jul 2017 15:02:31 +0000 (17:02 +0200)
commita76f6b1b0929f38aa91af75e9860637b60cee882
treef6c3026fc4af54eef306008975198f71139a8e5b
parent4969f5914c9e696c73d0aff2a3adc2f1ade606d1
crypto/scheduler: fix build with old gcc

Seen with gcc 4.9.2:
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++)
  ^

Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")

Signed-off-by: Jan Blunck <jblunck@infradead.org>
drivers/crypto/scheduler/scheduler_multicore.c