diff mbox

net/nuc900: change dev_warn to dev_dbg when link down occurs

Message ID 4CB86C87.5010207@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Wan ZongShun Oct. 15, 2010, 3 p.m. UTC
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(-)

Comments

David Miller Oct. 21, 2010, 10:16 a.m. UTC | #1
From: Wan ZongShun <mcuos.com@gmail.com>
Date: Fri, 15 Oct 2010 23:00:23 +0800

> 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>

Your patch does not apply to the current tree.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;
  	}