cxgb4vf: Initialize mdio_addr before using it
authorHariprasad Shenai <hariprasad@chelsio.com>
Mon, 12 Jan 2015 16:36:16 +0000 (22:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2015 21:31:52 +0000 (16:31 -0500)
commitfd48e639dfd3e86dd85bdeb40512a44b74b02e6f
tree528ffd6695c73cd39abf36edbe035d770fe6a3b3
parent5d632cb70f454ac11158de40d563b08b0cd6e084
cxgb4vf: Initialize mdio_addr before using it

In commit 5ad24def21b205a8 ("cxgb4vf: Fix ethtool get_settings for VF driver")
mdio_addr of port_info structure was used unininitialzed. Fixing it.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c