diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2022-03-08 19:42:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-09 19:54:32 -0800 |
commit | 1a21277190c70084800002bc42ecb7358c7f0775 (patch) | |
tree | 49712348eb1ea20fdf33225e33e15150a566818d /drivers/net | |
parent | 91ec77924714b67a6fbe9f6631dd639012fb76eb (diff) | |
download | linux-1a21277190c70084800002bc42ecb7358c7f0775.tar.bz2 |
net: stmmac: switch no PTP HW support message to info level
If HW doesn't support PTP, then it doesn't support it. This is neither
a problem nor can the user do something about it. Therefore change the
message level to info.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/ee685745-f1ab-e9bf-f20e-077d55dff441@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index cf4e077d21ff..c1bfd89a5a1f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -3275,7 +3275,7 @@ static int stmmac_hw_setup(struct net_device *dev, bool ptp_register) ret = stmmac_init_ptp(priv); if (ret == -EOPNOTSUPP) - netdev_warn(priv->dev, "PTP not supported by HW\n"); + netdev_info(priv->dev, "PTP not supported by HW\n"); else if (ret) netdev_warn(priv->dev, "PTP init failed\n"); else if (ptp_register) |