From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/l2fwd-ivshmem: fix icc compile error Date: Fri, 22 Jul 2016 18:00:30 +0200 Message-ID: <1570679.pZYkAAKRss@xps13> References: <1469196816-29395-1-git-send-email-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" To: "Yigit, Ferruh" Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 635DF558B for ; Fri, 22 Jul 2016 18:00:32 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id i5so72634610wmg.0 for ; Fri, 22 Jul 2016 09:00:32 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > icc version 16.0.2, compile error: > > > > == host > > CC host.o > > /root/development/dpdk/examples/l2fwd-ivshmem/host/host.c(157): > > error #3656: variable "total_vm_packets_dropped" > > may be used before its value is set > > total_vm_packets_dropped += ctrl->vm_ports[portid].stats.dropped; > > ^ > > > > Fixes: 6aa497249172 ("examples/l2fwd-ivshmem: import sample > > application") > > > > Signed-off-by: Ferruh Yigit > > Acked-by: Anatoly Burakov Applied, thanks