> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Jerin Jacob > Sent: Thursday, May 10, 2018 9:29 AM > To: [email protected] > Cc: [email protected]; [email protected]; Jerin Jacob > <[email protected]>; Richardson, Bruce > <[email protected]>; [email protected] > Subject: [dpdk-dev] [PATCH] test: fix wrong function type casing > > 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 > unsigned int *)’} to ‘int (*)(void *)’ > [-Wcast-function-type] rte_eal_remote_launch((lcore_function_t *)flip_bit, > &data[0], slaveid); > > Cc: [email protected] > Cc: [email protected] > > Fixes: c3eabff124e6 ("distributor: add unit tests") > > Signed-off-by: Jerin Jacob <[email protected]> > ---
Already fixed here: http://dpdk.org/dev/patchwork/patch/39717/

