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

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu May 10 17:59:42 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Hunt
> Sent: Thursday, May 10, 2018 2:26 AM
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; Hunt, David
> <david.hunt at intel.com>
> Subject: [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test
> 
> 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>


More information about the dev mailing list