Re: [dpdk-dev] [PATCH] test: fix wrong function type casing

2018-05-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Thursday, May 10, 2018 9:29 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; a...@warmcat.com; Jerin Jacob > ; Richardson, Bruce > ; sta...@dpdk.org > Subject: [dpd

[dpdk-dev] [PATCH] test: fix wrong function type casing

2018-05-10 Thread Jerin Jacob
make flip_bit() as lcore_function_t. Found this issue with gcc 8.1 test/test/test_distributor_perf.c: In function ‘time_cache_line_switch’: test/test/test_distributor_perf.c:59:24: warning: cast between incompatible function types from ‘void (*)(volatile uint64_t *)’ {aka ‘void (*) (volatile long