[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110520090208.7709bec3@nehalam>
Date: Fri, 20 May 2011 09:02:08 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: netdev@...r.kernel.org, David Miller <davem@...emloft.net>
Subject: [PATCH] netdev: stop Features changed message
The new in 2.6.39 message "Features changed:" occurs a lot
on many configurations. It provides information to driver developers
but is not user friendly. Printing out hex values is just confusing.
Reduce priority so that it doesn't show up unless debugging.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/net/core/dev.c 2011-05-20 08:59:40.248885114 -0700
+++ b/net/core/dev.c 2011-05-20 09:00:32.925437770 -0700
@@ -5258,7 +5258,7 @@ void netdev_update_features(struct net_d
if (dev->features == features)
return;
- netdev_info(dev, "Features changed: 0x%08x -> 0x%08x\n",
+ netdev_dbg(dev, "Features changed: 0x%08x -> 0x%08x\n",
dev->features, features);
if (dev->netdev_ops->ndo_set_features)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists