From: Richard Zhao Date: Sun, 29 Jan 2012 22:08:12 +0000 (+0000) Subject: net: fec: correct phy_name buffer length when init phy_name X-Git-Tag: v3.3-rc4~34^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ed07d51c8abdb407be454c6cb6cfad613759d9;p=pandora-kernel.git net: fec: correct phy_name buffer length when init phy_name 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 Acked-by: Shawn Guo Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed