net: stmmac: improve .set_clk_tx_rate() method error message
Improve the .set_clk_tx_rate() method error message to include the PHY interface mode along with the speed, which will be helpful to the RK implementations. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/E1uPjjx-0049r5-NN@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
91695b8592
commit
bd1d76a6f1
@@ -1062,8 +1062,8 @@ static void stmmac_mac_link_up(struct phylink_config *config,
|
||||
interface, speed);
|
||||
if (ret < 0)
|
||||
netdev_err(priv->dev,
|
||||
"failed to configure transmit clock for %dMbps: %pe\n",
|
||||
speed, ERR_PTR(ret));
|
||||
"failed to configure %s transmit clock for %dMbps: %pe\n",
|
||||
phy_modes(interface), speed, ERR_PTR(ret));
|
||||
}
|
||||
|
||||
stmmac_mac_set(priv, priv->ioaddr, true);
|
||||
|
||||
Reference in New Issue
Block a user