From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6896DA04C7; Thu, 21 Nov 2019 00:32:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35D1A271; Thu, 21 Nov 2019 00:32:39 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 90E44235 for ; Thu, 21 Nov 2019 00:32:37 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 24FFF2224B; Wed, 20 Nov 2019 18:32:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 20 Nov 2019 18:32:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=3Z2W2UNuznmAP0IXS6h32sMe1/OtsRmBbbC9wDQX6SI=; b=W5UF/G1DAMnN XBO5kNL+Yt0xITmlzNx/4LkMbZo1IpWUMOYrH8+jLL296uNn+y93JYMz1FVolVvW OSOVS2+ybjqHIR0dWEfKOA1vynGD7S57TMFKMweMXhkzaYH9aS5r7jcRrpHgK4a3 nJ+pOkk8HaluqQ8uOjWd/aKmhQgiegQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3Z2W2UNuznmAP0IXS6h32sMe1/OtsRmBbbC9wDQX6 SI=; b=cm73WuvzQHiBjSCrtX+zhs8ZzdbTl+s4XfsT8Da6nsrp7QT1gUl+KcxYa 0Hg8Il+0v90d3blYOTf0NRKoXU51uldb8IZI2DwZvZkkx16uwjZWQIOVd1o1MsZu sFOUGh/0hwjs0bgb0ROY3TOEqMUW5R5xJ7r2Iib9c4kgI6ogBOtVoYrC0JljlSum dQ4ly/OBLCUmzGr+WjMlLhQrqpghgOidiYY/QMrdPqEtsV02tUc50GEnjZd30h7O HeqE8d821Rn5tSLX1AKc18yD2gkdmoMlR8rL2/OVVWN8Kp/2I+bZTEGYKparkIxp O45cI6lJQplkrs+nwcUa+/eQAwigA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehuddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff homhgrihhnpehhuhgrrhhmrdgtohhmnecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C60AC306005B; Wed, 20 Nov 2019 18:32:35 -0500 (EST) From: Thomas Monjalon To: Ruifeng Wang Cc: dev@dpdk.org, Jerin Jacob , Jerin Jacob , Gavin Hu , Honnappa Nagarahalli , nd Date: Thu, 21 Nov 2019 00:32:34 +0100 Message-ID: <5623373.E9auGC82IA@xps> In-Reply-To: References: <20191115031801.83730-1-ruifeng.wang@arm.com> <20191115064754.57605-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] lib/bpf: fix clang build warnings for aarch64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 15/11/2019 08:14, Jerin Jacob: > On Fri, Nov 15, 2019 at 12:18 PM Ruifeng Wang wrote: > > > > Clang has different prototype for __builtin___clear_cache(). It requires > > 'char *' parameters while gcc requires 'void *'. > > > > Clang version 8.0 was used. > > Warning messages during build: > > ../lib/librte_bpf/bpf_jit_arm64.c:1438:26: warning: incompatible pointer > > types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type > > 'char *' [-Wincompatible-pointer-types] > > __builtin___clear_cache(ctx.ins, ctx.ins + ctx.idx); > > ^~~~~~~ > > ../lib/librte_bpf/bpf_jit_arm64.c:1438:35: warning: incompatible pointer > > types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type > > 'char *' [-Wincompatible-pointer-types] > > __builtin___clear_cache(ctx.ins, ctx.ins + ctx.idx); > > ^~~~~~~~~~~~~~~~~ > > > > Fixes: f3e516772464 ("bpf/arm: add prologue and epilogue") > > Cc: jerinj@marvell.com > > > > Signed-off-by: Ruifeng Wang > > Reviewed-by: Phil Yang > > Reviewed-by: Gavin Hu > > Acked-by: Jerin Jacob Applied, thanks