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 7CD29A00BE; Fri, 1 Nov 2019 22:34:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3DBA21E886; Fri, 1 Nov 2019 22:34:38 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 3F88B1E871 for ; Fri, 1 Nov 2019 22:34:36 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B84851D0; Fri, 1 Nov 2019 17:34:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 01 Nov 2019 17:34:35 -0400 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=AtLs0tyVxLIt0tMRRuaTp4gvCOcdKLO58sY9ofrO43I=; b=j01rxGZfhXS7 3q2EQNKPmxCk9PXXltweuuJ44n3Fhg+v1f839+oK0/Bhy5Q5kETlu9ex3geJCn3+ fpqa01wOBh87y0VLN4Aix1hAWmr7ok6pnRK2cdJJ7kFe1OpAAZyOZ0Db/AaHt8SF 009RtBkGlPYRhqWOsM8zgxXGxwMU+bg= 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=AtLs0tyVxLIt0tMRRuaTp4gvCOcdKLO58sY9ofrO4 3I=; b=OlladnVsbRrFJ9S8ezPONWItEoTgM6bFF5/oUJa9lxO3FgeCCQTeRBi7m 2ZILn2YpGR6XPdNSZHMZblBDHRAFL3kWiCll/P2A5lPBk//9awDBngkhBboOSmGH Xx+RDB2pRhIVajmxAjC9Cx+F8umTe2wTk35guDpqDQ+5O/nYEBbWIP/7pXjsaNJ6 y5kgdPyEsEUcUMUqc19A6uqLBN5M0wGI96SdP4/IipLaAQ9Q0KNZ/p3KnsuAVHht OYW6n6DYr3G+28CC923wnNQQn8gR7nf9wECpxB7GswE/otUwW24Yjh1cFTzDUMk9 FGsgmP+KvDe9qeQTZkWLTyTRNRGtA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddtjedgudehudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc fkphepleefrdeirddugeelrdduudegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 89B283060057; Fri, 1 Nov 2019 17:34:32 -0400 (EDT) From: Thomas Monjalon To: Ciara Power Cc: dev@dpdk.org, akhil.goyal@nxp.com, hemant.agrawal@nxp.com Date: Fri, 01 Nov 2019 22:34:29 +0100 Message-ID: <16554965.ArIabKrkQH@xps> In-Reply-To: <20191031140552.62117-1-ciara.power@intel.com> References: <20191031140552.62117-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa2_sec: fix build with clang 3.4.2 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" 31/10/2019 15:05, Ciara Power: > Building with clang 3.4.2 caused the following error: > > CC dpaa2_sec_dpseci.o > In file included from /dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:40: > In file included from /dpdk/drivers/common/dpaax/caamflib/desc/ipsec.h:11: > In file included from /dpdk/drivers/common/dpaax/caamflib/rta.h:11: > In file included from .../common/dpaax/caamflib/rta/sec_run_time_asm.h:14: > /dpdk/drivers/common/dpaax/compat.h:108:18: > error: redefinition of typedef 'dma_addr_t' is a C11 feature > [-Werror,-Wtypedef-redefinition] > typedef uint64_t dma_addr_t; > ^ > /dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:37:18: > note: previous definition is here > typedef uint64_t dma_addr_t; > ^ > 1 error generated. > > The dma_addr_t was defined in the common compat.h file, and does not > need to be redefined. > > The meson build include directories list was updated to enable the > definition in the common compat.h file be used. > > Fixes: 8c83f28cc8a4 ("common/dpaax: move OF library from DPAA bus") > Cc: hemant.agrawal@nxp.com > > Signed-off-by: Ciara Power Applied, thanks