> -----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 > <jerin.ja...@caviumnetworks.com>; Richardson, Bruce > <bruce.richard...@intel.com>; sta...@dpdk.org > 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: bruce.richard...@intel.com > Cc: sta...@dpdk.org > > Fixes: c3eabff124e6 ("distributor: add unit tests") > > Signed-off-by: Jerin Jacob <jerin.ja...@caviumnetworks.com> > ---
Already fixed here: http://dpdk.org/dev/patchwork/patch/39717/