Message ID | 4CB86C87.5010207@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
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 --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(ðer->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; }
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(-)