]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcadcf6e40c04adc6256c199af79f983975d6c439
tree528ffd6695c73cd39abf36edbe035d770fe6a3b3
parentea2ec495427856cda5034fd8773cc31657343601
cxgb4vf: Initialize mdio_addr before using it

In commit 63980f5cbf4a8ca3 ("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