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

2018-05-13 Thread Thomas Monjalon
> > 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

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

2018-05-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Hunt > Sent: Thursday, May 10, 2018 2:26 AM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Hunt, David > > Subject: [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test

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

2018-05-10 Thread David Hunt
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: Davi