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

Bruce Richardson bruce.richardson at intel.com
Tue Apr 6 12:18:38 CEST 2021


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>


More information about the dev mailing list