From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 156C81BD76 for ; Fri, 21 Dec 2018 01:43:13 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A028221FB2; Thu, 20 Dec 2018 19:43:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 20 Dec 2018 19:43:12 -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=AG9HeGkvN2b0j3LvJ3qghZQ/9V+9orhDh0r52YQEfgE=; b=X4kVz8Wkg9ut SE2hrguEojACtWTxSNQRuG+Pz6sWrYJzfiX8MGWS7jrauOwoWvpmmn6pXmB9a7Dj N7wIiw3HwUeWttpiqdC2r3icDAqCFjaBtR8t4sOpUNLXeCGnje/UprdTQ/fknqKy QsGzC6yxmPyoDekZ3X3bsQEqUroWxuk= 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=AG9HeGkvN2b0j3LvJ3qghZQ/9V+9orhDh0r52YQEf gE=; b=fBfGTOmYe9PFtecTWKOoZJON214WVqvC3sA7vIbZz22uQUuaxCpNsUkXM 8KX47OqZhCdKhylPfj7I8iPrS4thz1YXCveM5nirJcYshleuwLKJJLQ/Ij6EvFmT eF0m+O+HF/qTpYDjvyvSen1jptYJYhqc1dRnqmGwTK7O+MHeoG6oum7iWfIu5Ghw /qNzxIYQQPdKzdy3vHUNkBzlnBtctgkbvT3tODA6HFjbJ6isIIBdHCTlQK/Y2e34 fU/IzG+7gIriD5X33JUOKDVdw5SIHThP298IXd+2rSeGU2hVqSUVHjh5/pqAHnu3 1GqPfwarnwHP7lnTTDdSnMD/y+oGQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejgedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 86613100BA; Thu, 20 Dec 2018 19:43:11 -0500 (EST) From: Thomas Monjalon To: Jeff Shaw Cc: dev@dpdk.org, Bruce Richardson , pablo.de.lara.guarch@intel.com, honnappa.nagarahalli@arm.com Date: Fri, 21 Dec 2018 01:43:10 +0100 Message-ID: <3220539.vVLtEtYjEp@xps> In-Reply-To: <20181210102943.GB10896@bricha3-MOBL.ger.corp.intel.com> References: <20181208000126.44046-1-jeffrey.b.shaw@intel.com> <20181210102943.GB10896@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] hash: fix __rte_hash_lookup_bulk return value 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: , X-List-Received-Date: Fri, 21 Dec 2018 00:43:13 -0000 10/12/2018 11:29, Bruce Richardson: > On Fri, Dec 07, 2018 at 04:01:26PM -0800, Jeff Shaw wrote: > > The __rte_hash_lookup_bulk() function returns void, and therefore > > should not return with an expression. This commit fixes the following > > compiler warning when attempting to compile with "-pedantic -std=3Dc11". > >=20 > > warning: ISO C forbids =E2=80=98return=E2=80=99 with expression, in f= unction > > returning void [-Wpedantic] > >=20 > > Fixes: 9eca8bd7a61c ("hash: separate lock-free and r/w lock lookup") > >=20 > > Signed-off-by: Jeff Shaw > > --- > Acked-by: Bruce Richardson Applied, thanks