app/eventdev: fix build with gcc 4.8
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Mon, 16 Apr 2018 13:13:23 +0000 (18:43 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 16 Apr 2018 14:59:51 +0000 (16:59 +0200)
commit52553263484a3ad3b24b9fa76b14aebbc4e8a526
treedc25fd3dd188479a5d14651dfc89a10c89692282
parent100915c0a51121fdbbb3be04aa73823f54e20cda
app/eventdev: fix build with gcc 4.8

test_perf_common.c: In function ‘perf_event_timer_producer’:
test_perf_common.c:99:3: error: missing initializer for
 field ‘priority’ of ‘struct <anonymous>’
 [-Werror=missing-field-initializers]
   .ev.sched_type = t->opt->sched_type_list[0],

Fixes: d008f20bce23 ("app/eventdev: add event timer adapter as a producer")

Reported-by: Andrew Rybchenko <arybchenko@solarflare.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
app/test-eventdev/test_perf_common.c