From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=fOX6PBhaotae8nv23uJKjqecm/eRoeLF/9RvQBgALUg=; b=sNC0HDZ394WY9ghyG3yiSlaN1vAOGccF15PctGo8KrpCgcKvtnkVsHhmtHr9zEMYCQ PvsRjbobR3kF2T/JkB8e292eNK+J+W9v9I4hr2iQ1OGKFC3HZgr8gaZISLOijSbncWNC s1gdYU3io7aGyYvpZzyeoX1zU8b8slT6zIRjHD+q1Z+vb/WVdWHuhh9qPsY4ZPjl8bZ1 5MjLTAzimd3iUqB13Ico0umg/ul2eIA8T5W56JCjAvSucBi2c+9HoGfRYkymnGodOr2V 8/CEINveYQiYmMjGfXOP9Sr/22Dld6OgPsPIhSagXgpLymQo/3geLa2Doe4app8q9edt pLuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=fOX6PBhaotae8nv23uJKjqecm/eRoeLF/9RvQBgALUg=; b=mlIx+4pBmgj99Kh85gKPHk4PcS+//T5rSwhUsKJ7F3tIIb1OKHjeVAYOKfhl9GTj6s KsCzFwgjaVLZPLJmp7jq2OX2fMg8wxatZa57/BVV90hlEGJRBbMQKXvJhFERc4DU9+Qq ha9RUp2+y/am/+P/SYIEMVhMZn3mR09z0V+cXSut+DwfAuju4SacpEIddWZv4x55oL4R mlYpOKEiP96q5hFcODnVYzM/SCWJ0urii/KQnq2Rzxok50B+u5bd5tS+rs05EhU33cgA k7wt2at0iebkYMMDIIsOffy3Hk75EF3MkC9QpIc644/69qvo2Dp3iJQfm885Z+rvNKEa CpqQ== X-Gm-Message-State: ALoCoQnHfKTn/z+GFPVd/7UjlDTjlyrO/WZlqvimIQI35ZQ2e6/8/SVhrBh8qt/fwN5xDmCbGTXW X-Received: by 10.28.19.84 with SMTP id 81mr13625525wmt.26.1448657446416; Fri, 27 Nov 2015 12:50:46 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id jm4sm17642999wjb.7.2015.11.27.12.50.45 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 12:50:45 -0800 (PST) From: Thomas Monjalon To: "Qiu, Michael" Date: Fri, 27 Nov 2015 21:49:25 +0100 Message-ID: <1680264.ddMp8bvrpL@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue 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: Fri, 27 Nov 2015 20:50:46 -0000 > > 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