From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 0E7D68D9D for ; Sat, 13 Feb 2016 07:41:25 +0100 (CET) Received: from mvs-01.mhcomputing.net (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 05AEB121; Fri, 12 Feb 2016 22:41:23 -0800 (PST) From: Matthew Hall To: dev@dpdk.org Date: Fri, 12 Feb 2016 22:41:18 -0800 Message-Id: <1455345678-17662-1-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH] eal_interrupts.c: properly init struct epoll_event (valgrind) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 06:41:25 -0000 Signed-off-by: Matthew Hall --- 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