Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/i40e/base: fix potentially uninitialized variables
[ upstream commit bc99971 ] The status of i40e_read_nvm_word is not checked, so variables set from this function could be used uninitialized. In this case, preserve the existing flow that does not block initialization by initializing these values from the start. Fixes: 8d6c51f ("i40e/base: get OEM version") Fixes: 2db7057 ("net/i40e/base: limit PF/VF specific code to that driver only") Signed-off-by: Christopher Pau <christopher.pau@intel.com> Signed-off-by: Robin Zhang <robinx.zhang@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com>
- Loading branch information