Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2940863ybv; Mon, 24 Feb 2020 14:54:39 -0800 (PST) X-Google-Smtp-Source: APXvYqz13fhvWmtbb8a49BN7mXOqxXXU/pr7CxOq6hBGDVJ8rMG22iBAybOjFKn47VcSZZ2LNBeI X-Received: by 2002:a54:410e:: with SMTP id l14mr1112184oic.42.1582584878559; Mon, 24 Feb 2020 14:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582584878; cv=none; d=google.com; s=arc-20160816; b=JGf99UzQdGkUgPr/1ArQvfs6lIYfbMeFEyNkKMfGQbDXKgTq4mLq+bcZyobhVfwKL3 lzR/mx3Y3NB5VUpvFmgY/S0oMwsP0GvPr2Rnvw8lSkQ9VEOjAWE/UK0sfP7KM4xd93AV WvRXE6DMlz1CT/BldlUBKnF9A9uroM1fZv8SyvDzR8jRCkxL0Qi/cQyxB+ZkY1RFjTsq KOV8LmgOO17PlwgCKsPsWAheccETeGp3kwFU8kL18X5Izi2VeYhSfLb6tfqwNtmtCYzi CRVQPPbZmhIucwbC9+uNubehPPl7MoXrzIBMcciu/A96fhOO2ANsUpgekzxvLkzz4zGq YGMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2hHc9h1DB7cfA/eLXBmphaTRtqjH9yfv5NLP9nuHLsE=; b=Ih9MsIMmPS+rSsI9atDRQ741+21dTH5DGObDHuAazC+xgwO/e2GcdYFY/77eKTnlTC F+CPvHRR2dJOM+9fMjCbKT/1s9mznM5YaOPjPllsQ+0XdSSePMknDumH+cH3SZNEYkvR d9L3pg4pFe1tv5DfbER6O3mAlRh5y77xdtz7bC6Y1rvKzJlW8EI0j/bSoeISiMq2emIP 5lqJpc6qXLtUmzCABREwZiQv6KoVaLIK3JbKH7hbCLwE6jtsKefuwL1hyWFlDpT1Zbkh EPe7QFEy6uNaSt0S8BH8aABCh64naMCFSL2fRUhECVr5C6V4ULbkpv4fHe6bw7IZSvfO 8org== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p7si6976474ota.299.2020.02.24.14.54.26; Mon, 24 Feb 2020 14:54:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728425AbgBXWyR (ORCPT + 99 others); Mon, 24 Feb 2020 17:54:17 -0500 Received: from foss.arm.com ([217.140.110.172]:43928 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728405AbgBXWyQ (ORCPT ); Mon, 24 Feb 2020 17:54:16 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 88BB431B; Mon, 24 Feb 2020 14:54:16 -0800 (PST) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.28.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 809533F534; Mon, 24 Feb 2020 14:54:16 -0800 (PST) From: Jeremy Linton To: netdev@vger.kernel.org Cc: opendmb@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, wahrenst@gmx.net, andrew@lunn.ch, hkallweit1@gmail.com, Jeremy Linton , Nicolas Saenz Julienne Subject: [PATCH v2 6/6] net: bcmgenet: reduce severity of missing clock warnings Date: Mon, 24 Feb 2020 16:54:03 -0600 Message-Id: <20200224225403.1650656-7-jeremy.linton@arm.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200224225403.1650656-1-jeremy.linton@arm.com> References: <20200224225403.1650656-1-jeremy.linton@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If one types "failed to get enet clock" or similar into google there are ~370k hits. The vast majority are people debugging problems unrelated to this adapter, or bragging about their rpi's. Further, the DT clock bindings here are optional. Given that its not a fatal situation with common DT based systems, lets reduce the severity so people aren't seeing failure messages in everyday operation. Signed-off-by: Jeremy Linton Reviewed-by: Nicolas Saenz Julienne Acked-by: Florian Fainelli --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 412156745b5c..80feb20a2e53 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -3562,7 +3562,7 @@ static int bcmgenet_probe(struct platform_device *pdev) priv->clk = devm_clk_get(&priv->pdev->dev, "enet"); if (IS_ERR(priv->clk)) { - dev_warn(&priv->pdev->dev, "failed to get enet clock\n"); + dev_dbg(&priv->pdev->dev, "failed to get enet clock\n"); priv->clk = NULL; } @@ -3586,13 +3586,13 @@ static int bcmgenet_probe(struct platform_device *pdev) priv->clk_wol = devm_clk_get(&priv->pdev->dev, "enet-wol"); if (IS_ERR(priv->clk_wol)) { - dev_warn(&priv->pdev->dev, "failed to get enet-wol clock\n"); + dev_dbg(&priv->pdev->dev, "failed to get enet-wol clock\n"); priv->clk_wol = NULL; } priv->clk_eee = devm_clk_get(&priv->pdev->dev, "enet-eee"); if (IS_ERR(priv->clk_eee)) { - dev_warn(&priv->pdev->dev, "failed to get enet-eee clock\n"); + dev_dbg(&priv->pdev->dev, "failed to get enet-eee clock\n"); priv->clk_eee = NULL; } -- 2.24.1