Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eal/windows: fix vfprintf warning with clang
[ upstream commit 498ec3c ] 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: b8a36b0 ("eal/windows: improve CPU and NUMA node detection") Suggested-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
- Loading branch information