* Re: [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test [not found] <20180510012538.176757-1-david.hunt@intel.com> @ 2018-05-10 15:59 ` De Lara Guarch, Pablo 2018-05-13 21:04 ` Thomas Monjalon 0 siblings, 1 reply; 2+ messages in thread From: De Lara Guarch, Pablo @ 2018-05-10 15:59 UTC (permalink / raw) To: Hunt, David, dev; +Cc: Richardson, Bruce, Hunt, David, stable > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Thursday, May 10, 2018 2:26 AM > To: dev@dpdk.org > Cc: Richardson, Bruce <bruce.richardson@intel.com>; Hunt, David > <david.hunt@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@intel.com> Cc: stable@dpdk.org Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test 2018-05-10 15:59 ` [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test De Lara Guarch, Pablo @ 2018-05-13 21:04 ` Thomas Monjalon 0 siblings, 0 replies; 2+ messages in thread From: Thomas Monjalon @ 2018-05-13 21:04 UTC (permalink / raw) To: Hunt, David; +Cc: dev, De Lara Guarch, Pablo, Richardson, Bruce, stable > > 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@intel.com> > > Cc: stable@dpdk.org > > Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Applied, thanks ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-13 21:04 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20180510012538.176757-1-david.hunt@intel.com> 2018-05-10 15:59 ` [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test De Lara Guarch, Pablo 2018-05-13 21:04 ` Thomas Monjalon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).