[dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test

Thomas Monjalon thomas at monjalon.net
Sun May 13 23:04:43 CEST 2018


> > 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 <david.hunt at intel.com>
> 
> Cc: stable at dpdk.org
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Applied, thanks





More information about the dev mailing list