[dpdk-dev] [PATCH v2] eal/windows: vfprintf build warning with clang

Thomas Monjalon thomas at monjalon.net
Mon Dec 7 21:25:19 CET 2020


29/11/2020 14:42, Dmitry Kozlyuk:
> On Sun, 29 Nov 2020 13:00:47 +0000, Nick Connolly wrote:
> > When building with clang (11.0,--buildtype=debug), eal_lcore.c
> > produces a -Wformat-nonliteral warning from the vfprintf call
> > in log_early.
> > 
> > Add __rte_format_printf annotation.
> > 
> > Fixes: b8a36b086625 ("eal/windows: improve CPU and NUMA node detection")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Nick Connolly <nick.connolly at mayadata.io>
> > Suggested-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> 
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>

Applied, thanks




More information about the dev mailing list