提交 cba920af 编写于 作者: L LABBE Corentin 提交者: David S. Miller

net: stmmac: Correct the error message about invalid speed

The message about invalid speed does not state 1000 as a valid speed.
It is much simpler to said that the speed is invalid.
Signed-off-by: NCorentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b2a8315a
...@@ -738,8 +738,7 @@ static void stmmac_adjust_link(struct net_device *dev) ...@@ -738,8 +738,7 @@ static void stmmac_adjust_link(struct net_device *dev)
break; break;
default: default:
netif_warn(priv, link, priv->dev, netif_warn(priv, link, priv->dev,
"Speed (%d) not 10/100\n", "broken speed: %d\n", phydev->speed);
phydev->speed);
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册