net/liquidio: fix uninitialized variable
authorYong Wang <wang.yong19@zte.com.cn>
Fri, 15 Sep 2017 11:48:28 +0000 (07:48 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit005ce1ca39da87902bd49976e1945b70101c1167
tree570aadf8ddf5d27f5b0146c455eb1947d74309f6
parent96fc8d6561b1b1348af97c2ed275922315d228c4
net/liquidio: fix uninitialized variable

In func lio_dev_link_update(), "link.link_autoneg" is used in func call
lio_dev_atomic_write_link_status(), but it is uninitialized.

Fixes: 3766020513df ("net/liquidio: add APIs to start device and update link")
Cc: stable@dpdk.org
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
drivers/net/liquidio/lio_ethdev.c