[dpdk-dev] [PATCH] test: fix incorrect cast in pipeline unit test
Thomas Monjalon
thomas at monjalon.net
Sun May 13 23:25:15 CEST 2018
> > New warning with gcc 8.1:
> > The table_action_stub_miss() function was incorrectly declared as returning a
> > typedef of rte_pipeline_table_action_handler_miss, instead of what it should
> > have been, an int.
> > Changed this to declare the function as returning an int, and now when the
> > action_handler_miss is set to table_action_stub_miss (cast as
> > rte_pipeline_table_action_handler_miss), gcc 8.1 no longer complains about the
> > cast.
> >
> > Fixes: 5205954791cb ("app/test: packet framework unit tests")
> >
> > Signed-off-by: David Hunt <david.hunt at intel.com>
>
> Missing "Cc: stable at dpdk.org".
>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Applied, thanks
More information about the dev
mailing list