From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/2 v2] examples/distributor: Fix compile issue Date: Fri, 27 Nov 2015 21:49:25 +0100 Message-ID: <1680264.ddMp8bvrpL@xps13> References: <1448501706-21718-1-git-send-email-michael.qiu@intel.com> <1448595365-12699-1-git-send-email-michael.qiu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Qiu, Michael" Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 9B2A35685 for ; Fri, 27 Nov 2015 21:50:46 +0100 (CET) Received: by wmvv187 with SMTP id v187so84355996wmv.1 for ; Fri, 27 Nov 2015 12:50:46 -0800 (PST) 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" > > examples/distributor/main.c(338): error #167: > > argument of type "struct rte_mbuf *" > > is incompatible with parameter of type "const char *" > > _mm_prefetch(bufs[0], 0); > > > > The first param pass to _mm_prefetch is wrong, > > need convert "struct rte_mbuf *" to "void *". > > > > Fixes: 07db4a975094 ("examples/distributor: new sample app") > > > > Signed-off-by: Michael Qiu > > Acked-by: Pablo de Lara As described by Pablo, it is seen with ICC 2015. Series applied, thanks