Re: [dpdk-dev] [PATCH 06/10] net/dpaa2: fix possible use of uninitialized vars

2019-09-05 Thread Andrzej Ostruszka
On 9/5/19 4:10 PM, Hemant Agrawal wrote: > Hi Andrzei, > >> -Original Message- > >> diff --git a/drivers/net/dpaa2/mc/dpni.c b/drivers/net/dpaa2/mc/dpni.c >> index 362cd476f..b74a1a317 100644 >> --- a/drivers/net/dpaa2/mc/dpni.c >> +++ b/drivers/net/dpaa2/mc/dpni.c >> @@ -1803,10 +1803,13

[dpdk-dev] [PATCH 06/10] net/dpaa2: fix possible use of uninitialized vars

2019-09-05 Thread Andrzej Ostruszka
This patch fixes 'maybe-uninitialized' warnings reported by compiler when using LTO. Signed-off-by: Andrzej Ostruszka --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 1 + drivers/net/dpaa2/mc/dpkg.c| 2 +- drivers/net/dpaa2/mc/dpni.c| 9 ++--- 3 files changed, 8 insertio