DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] eal_interrupts.c: properly init struct epoll_event (valgrind)
@ 2016-02-13  6:41 Matthew Hall
  2016-02-14 20:22 ` Stephen Hemminger
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Hall @ 2016-02-13  6:41 UTC (permalink / raw)
  To: dev

Signed-off-by: Matthew Hall <mhall@mhcomputing.net>
---
 lib/librte_eal/linuxapp/eal/eal_interrupts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
index 06b26a9..b33ccdb 100644
--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c
+++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
@@ -800,6 +800,7 @@ static __attribute__((noreturn)) void *
 eal_intr_thread_main(__rte_unused void *arg)
 {
 	struct epoll_event ev;
+	memset(&ev, 0, sizeof(ev));
 
 	/* host thread, never break out */
 	for (;;) {
-- 
2.5.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-17 23:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-13  6:41 [dpdk-dev] [PATCH] eal_interrupts.c: properly init struct epoll_event (valgrind) Matthew Hall
2016-02-14 20:22 ` Stephen Hemminger
2016-03-17 14:18   ` Thomas Monjalon
2016-03-17 17:19     ` Stephen Hemminger
2016-03-17 23:00       ` Matthew Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).