]> 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)
commit80ccdfcfeee2c6a8ed028e98d8945c2d7a9c743b
tree528ffd6695c73cd39abf36edbe035d770fe6a3b3
parent2f60876fe4dbde3f7e0d11fa943d9a6450af638b
cxgb4vf: Initialize mdio_addr before using it

In commit 008b74ceee34d9de ("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