net/i40e/base: fix possible uninitialized variable
authorGuinan Sun <guinanx.sun@intel.com>
Mon, 27 Jul 2020 05:34:48 +0000 (05:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commit3d112d16044ac49bbb0a01da525b8408a29a656f
treeec72787ddc2cd2e4b7672fa3c98a069897dac99d
parent2cd4d4e42aa9f893cb1fc0d0e112c7fbcda4ad5c
net/i40e/base: fix possible uninitialized variable

Fix possible uninitialized variable in i40e in the i40e_get_lpi_counters
function.

Fixes: 429bdc0cd967 ("net/i40e/base: add function to read LPI counters")
Cc: stable@dpdk.org
Signed-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/base/i40e_common.c