From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net-next 3/5] net: phy: phylink: Demote error message to debug Date: Thu, 30 Nov 2017 11:57:42 -0800 Message-ID: <20171130195744.17743-4-f.fainelli@gmail.com> References: <20171130195744.17743-1-f.fainelli@gmail.com> Cc: davem@davemloft.net, andrew@lunn.ch, rmk+kernel@armlinux.org.uk, vivien.didelot@savoirfairelinux.com, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-qk0-f194.google.com ([209.85.220.194]:38473 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbdK3T5y (ORCPT ); Thu, 30 Nov 2017 14:57:54 -0500 Received: by mail-qk0-f194.google.com with SMTP id z203so10426488qkb.5 for ; Thu, 30 Nov 2017 11:57:54 -0800 (PST) In-Reply-To: <20171130195744.17743-1-f.fainelli@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Some subsystems like DSA may be trying to connect to a PHY through OF first, and then attempt a connect using a local MDIO bus, demote the error message: "unable to find PHY node" into a debug print. Signed-off-by: Florian Fainelli --- drivers/net/phy/phylink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 8a30ea8873af..a41f0a224512 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -694,7 +694,7 @@ int phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, if (!phy_node) { if (pl->link_an_mode == MLO_AN_PHY) { - netdev_err(pl->netdev, "unable to find PHY node\n"); + netdev_dbg(pl->netdev, "unable to find PHY node\n"); return -ENODEV; } return 0; -- 2.14.3