net/nuc900: change dev_warn to dev_dbg when link down occurs
Subsystems (2)
PATCH 1/1 net/nuc900: change dev_warn to dev_dbg when link down occurs
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 <[email protected]>
--- drivers/net/arm/w90p910_ether.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/arm/w90p910_ether.c +1 -1
@@ -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 ; }
Signature · 1 line
1.6.3.3
David Miller
maintainerFrom: Wan ZongShun <[email protected]>
Date: Fri, 15 Oct 2010 23:00:23 +0800
Quoted 7 lines
Hi David,
When I didnot connect the net cable, the warning infos are always showed,
so I change thedev_warntodev_dbg.Signed-off-by Wan ZongShun <[email protected]>
Your patch does not apply to the current tree.