numam-dpdk/drivers/net/dpaa2/base
Andrzej Ostruszka 7bbc7dc431 net/dpaa2: fix possible use of uninitialized vars
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: 16bbc98a3e ("bus/fslmc: update MC to 10.3.x")
Cc: stable@dpdk.org

Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
2019-11-08 15:23:41 +01:00
..
dpaa2_hw_dpni_annot.h net/dpaa2: add PTP driver 2019-10-08 12:14:31 +02:00
dpaa2_hw_dpni.c net/dpaa2: fix possible use of uninitialized vars 2019-11-08 15:23:41 +01:00