7bbc7dc431
This patch fixes 'maybe-uninitialized' warnings reported by compiler
when using LTO.
Compiler warning pointing to this error (with LTO enabled):
error: ‘kg_cfg.extracts[0].masks[0].mask’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
extr->masks[j].mask = cfg->extracts[i].masks[j].mask;
Fixes:
|
||
---|---|---|
.. | ||
base | ||
mc | ||
dpaa2_ethdev.c | ||
dpaa2_ethdev.h | ||
dpaa2_flow.c | ||
dpaa2_mux.c | ||
dpaa2_pmd_logs.h | ||
dpaa2_ptp.c | ||
dpaa2_rxtx.c | ||
dpaa2_sparser.c | ||
dpaa2_sparser.h | ||
Makefile | ||
meson.build | ||
rte_pmd_dpaa2_version.map | ||
rte_pmd_dpaa2.h |