netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wan ZongShun <mcuos.com@gmail.com>
To: netdev@vger.kernel.org, yachen@nuvoton.com,
	"David S. Miller" <davem@davemloft.net>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] net/nuc900: change dev_warn to dev_dbg when link down occurs
Date: Fri, 15 Oct 2010 23:00:23 +0800	[thread overview]
Message-ID: <4CB86C87.5010207@gmail.com> (raw)

Hi David,

When I didnot connect the net cable, the warning infos are always showed,
so I change the dev_warn to dev_dbg.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>

---
  drivers/net/arm/w90p910_ether.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/arm/w90p910_ether.c b/drivers/net/arm/w90p910_ether.c
index 4545d5a..98f8ada 100644
--- a/drivers/net/arm/w90p910_ether.c
+++ b/drivers/net/arm/w90p910_ether.c
@@ -213,7 +213,7 @@ static void update_linkspeed(struct net_device *dev)
  	if (!mii_link_ok(&ether->mii)) {
  		ether->linkflag = 0x0;
  		netif_carrier_off(dev);
-		dev_warn(&pdev->dev, "%s: Link down.\n", dev->name);
+		dev_dbg(&pdev->dev, "%s: Link down.\n", dev->name);
  		return;
  	}

-- 
1.6.3.3

             reply	other threads:[~2010-10-15 15:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-15 15:00 Wan ZongShun [this message]
2010-10-21 10:16 ` [PATCH] net/nuc900: change dev_warn to dev_dbg when link down occurs David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CB86C87.5010207@gmail.com \
    --to=mcuos.com@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yachen@nuvoton.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).