eal/linux: fix uninitialized data valgrind warning
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 27 Nov 2019 22:32:32 +0000 (14:32 -0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 4 Dec 2019 09:05:05 +0000 (10:05 +0100)
commite0ab8020ac2a5b379bb91fbe882ac3b08d333586
treec706be2d503c4c9385f6d58e3a7815545f71d198
parentd51827a9815d1e1b97828013ea2ef4760cf61dc9
eal/linux: fix uninitialized data valgrind warning

Valgrind reports that eal interrupt thread is calling epoll_ctl
with uninitialized data.
This is a false positive, because the kernel is not going to care about
the unused bits in the union but trivial to fix by initializing it.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/linux/eal/eal_interrupts.c