From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: fix __rte_hash_lookup_bulk return value Date: Fri, 21 Dec 2018 01:43:10 +0100 Message-ID: <3220539.vVLtEtYjEp@xps> References: <20181208000126.44046-1-jeffrey.b.shaw@intel.com> <20181210102943.GB10896@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Bruce Richardson , pablo.de.lara.guarch@intel.com, honnappa.nagarahalli@arm.com To: Jeff Shaw 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) In-Reply-To: <20181210102943.GB10896@bricha3-MOBL.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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