Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 602EEC433F5 for ; Sat, 1 Jan 2022 19:12:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0EC88811B2; Sat, 1 Jan 2022 20:12:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1641064357; bh=rKTvFsErVqy3O8BQ5aE5qt9T1E0Ai89NoeuPwNmGkN0=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=WbZV6dDFXTxykUB3J1xSfLVSqcB+G4DESgk5dKMqRIxLmkHYAF/o6YLkTfvDHlX2k 4TArLvbPQcgz/htRbOInC2XSShKd3pUezErXkvBYbLqM8Q34hUuz7Nt35KxYZbLV9W Kq5AKkNSiq11uGCuSL9eaQcqdRGUhAKo1wCenyi8b11uJh1nTMIQc2M9egHnk1Tct/ 4ApRSKPZhHsyqVal9HoxM5GjTejb8nMWtojwO9j7fR2EPYpx7cm61JZY8nBzpOLhi8 Qrev0JLcTMQkGFauetkkJQANPFAbujspv4EzZBD3xhn8L5sqfIFpVdFWoKxect2j0y lzUrdUI+uzi/A== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 38FC580EEE; Sat, 1 Jan 2022 20:12:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1641064355; bh=rKTvFsErVqy3O8BQ5aE5qt9T1E0Ai89NoeuPwNmGkN0=; h=From:To:Cc:Subject:Date:From; b=dVdE6T1nepk5iczVe7gFfZyq1+7q42tYGbOzt95rc7Nuo/Va7vJOqNzp7VRvk0Unk UHOX2LNnswoZ+K5f3xWZYcrCSmgFJY/YXPmRyKCBqoQGstL7IlWobBLGvwBLHse2wa fkhR1PKAiyewO6RmQ0rf29UbEnULbN9o5jyka/x/rcQprsH+U0bTpxOP9wD5YhcsHD GP+nqd6bveiia84L7EI7sRcVfSmTcdflhPraypW4AqMlEIMAHWlRXuVOOitahI2TQF u4sKOCqxQRx5ENBhcLRnyV2xIROOSTvDgQhB7AfVypKjvzvBPhsZ53gEwaAEVTQDuX ahBJ7KUJNXlvA== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Ramon Fried Subject: [PATCH] net: eth-phy: Demote missing phy-handle log message to debug Date: Sat, 1 Jan 2022 20:12:23 +0100 Message-Id: <20220101191223.490161-1-marex@denx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Reduce the missing phy-handle log message to debug message. It is possible for ethernet DT node to have no phy-handle e.g. in case of a fixed-link connection. Furthermore, drop the FEC: prefix, which is a copy-paste error and rather print the ethernet device name. Signed-off-by: Marek Vasut Cc: Ramon Fried --- drivers/net/eth-phy-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/eth-phy-uclass.c b/drivers/net/eth-phy-uclass.c index a9b358ee234..1f285f7afd2 100644 --- a/drivers/net/eth-phy-uclass.c +++ b/drivers/net/eth-phy-uclass.c @@ -103,7 +103,7 @@ struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev) return uc_priv->mdio_bus; } } else { - log_notice("FEC: can't find phy-handle\n"); + log_debug("Can't find phy-handle for %s\n", eth_dev->name); } return NULL; -- 2.34.1