[PATCH 1/1] net: fec: correct phy_name buffer length when init phy_name
From: davem@davemloft.net (David Miller)
Date: 2012-01-31 21:18:02
Also in:
netdev
From: davem@davemloft.net (David Miller)
Date: 2012-01-31 21:18:02
Also in:
netdev
From: Richard Zhao <redacted> Date: Mon, 30 Jan 2012 16:08:12 +0800
Fix the bug that we got wrong phy_name on imx6q sabrelite board. snprintf used wrong length of phy_name. phy_name length is MII_BUS_ID_SIZE + 3 rather not MII_BUS_ID_SIZE. I change it to sizeof(phy_name). Signed-off-by: Richard Zhao <redacted>
Applied, thanks.