[dpdk-dev] [PATCH] eal: fix telemetry logtype registration

David Marchand david.marchand at redhat.com
Thu Apr 8 18:41:14 CEST 2021


On Tue, Apr 6, 2021 at 12:18 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> On Tue, Apr 06, 2021 at 11:25:45AM +0200, David Marchand wrote:
> > rte_log_register_type_and_pick_level() returns an int.
> > Casting to a uin32_t will make us miss the -1 passed in case of failure.
> >
> > Fixes: 37b881a96194 ("telemetry: use log function from pointer")
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list