From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 91F325B20 for ; Mon, 10 Dec 2018 11:29:48 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2018 02:29:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,338,1539673200"; d="scan'208";a="117503453" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.32]) by orsmga001.jf.intel.com with SMTP; 10 Dec 2018 02:29:45 -0800 Received: by (sSMTP sendmail emulation); Mon, 10 Dec 2018 03:29:44 -0700 Date: Mon, 10 Dec 2018 03:29:44 -0700 From: Bruce Richardson To: Jeff Shaw Cc: pablo.de.lara.guarch@intel.com, dev@dpdk.org, honnappa.nagarahalli@arm.com Message-ID: <20181210102943.GB10896@bricha3-MOBL.ger.corp.intel.com> References: <20181208000126.44046-1-jeffrey.b.shaw@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181208000126.44046-1-jeffrey.b.shaw@intel.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) 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: Mon, 10 Dec 2018 10:29:49 -0000 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=c11". > > warning: ISO C forbids ‘return’ with expression, in function > returning void [-Wpedantic] > > Fixes: 9eca8bd7a61c ("hash: separate lock-free and r/w lock lookup") > > Signed-off-by: Jeff Shaw > --- Acked-by: Bruce Richardson