From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test: fix incorrect cast in distributor unit test Date: Sun, 13 May 2018 23:04:43 +0200 Message-ID: <4186845.r6jCUrgl0W@xps> References: <20180510012538.176757-1-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "De Lara Guarch, Pablo" , "Richardson, Bruce" , "stable@dpdk.org" To: "Hunt, David" Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > New warning with gcc 8.1: > > When casting the function pointer passed to > > rte_eal_remote_launch() as an lcore_function_t *, it expects the cast function > > to return an int, but instead it was returning void. Fixed to return an int. > > > > Fixes: c3eabff124e6 ("distributor: add unit tests") > > > > Signed-off-by: David Hunt > > Cc: stable@dpdk.org > > Acked-by: Pablo de Lara Applied, thanks