diff options
author | Richard Zhao <[email protected]> | 2012-01-29 22:08:12 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-31 16:17:25 -0500 |
commit | a7ed07d51c8abdb407be454c6cb6cfad613759d9 (patch) | |
tree | 30b7ce649d8b4084f4c09c80d6ef778b42e141cb /tools/perf/scripts/python | |
parent | d3712b9dfcf44ca145cf87e7f4096fa2d923471a (diff) |
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 <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions