netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next-2.6] bonding: reduce noise during init
@ 2011-07-26 21:35 Andy Gospodarek
  2011-07-26 21:54 ` Joe Perches
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Gospodarek @ 2011-07-26 21:35 UTC (permalink / raw)
  To: netdev; +Cc: fubar

Many are using sysfs to configure bonding rather than module options, so
there is no need for bonding to throw this warning in normal cases.

Keep the message around when debugging is enabled as it might be useful
for someone desperate enough to enable debugging, but eliminate it
otherwise.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>

---
 drivers/net/bonding/bond_main.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 61265f7..5ca23b1 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4745,7 +4745,10 @@ static int bond_check_params(struct bond_params *params)
 		/* miimon and arp_interval not set, we need one so things
 		 * work as expected, see bonding.txt for details
 		 */
-		pr_warning("Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.\n");
+		pr_debug("Warning: either miimon or arp_interval and"
+			 " arp_ip_target module parameters must be specified,"
+			 " otherwise bonding will not detect link failures!"
+			 "  See bonding.txt for details.\n");
 	}
 
 	if (primary && !USES_PRIMARY(bond_mode)) {
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-28  5:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 21:35 [PATCH net-next-2.6] bonding: reduce noise during init Andy Gospodarek
2011-07-26 21:54 ` Joe Perches
2011-07-27  0:37   ` Jay Vosburgh
2011-07-27  0:40     ` Joe Perches
2011-07-27  1:05       ` Andy Gospodarek
     [not found]       ` <CAHashqDd8iFou7MsdCU2=2mEyaSo5RvsJoqd47jZTCwwdU81eA@mail.gmail.com>
2011-07-27  1:08         ` Joe Perches
2011-07-27 20:09       ` [PATCH net-next-2.6 v2] " Andy Gospodarek
2011-07-28  5:40         ` David Miller

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