Netdev List
 help / color / mirror / Atom feed
* [PATCH] tulip: Disable debugging messages by default
@ 2011-07-18 12:40 Jean Delvare
  2011-07-18 14:50 ` [PATCH] tulip: dmfe: Remove old log spamming pr_debugs Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2011-07-18 12:40 UTC (permalink / raw)
  To: netdev; +Cc: Grant Grundler, Joe Perches

With debugging messages enabled by default, one user complained [1]
that his log was spammed with these messages:

[ 6233.528227] dmfe: tdes0=7fff0000
[ 6237.651056] dmfe: tdes0=7fff0000
[ 6237.651060] dmfe: tdes0=7fff0000
[ 6237.696019] dmfe: tdes0=7fff0000
[ 6237.696022] dmfe: tdes0=7fff0000
[ 6238.028810] dmfe: tdes0=7fff0000
[ 6238.028814] dmfe: tdes0=7fff0000
[ 6238.073544] dmfe: tdes0=7fff0000
[ 6238.073547] dmfe: tdes0=7fff0000

With dynamic debugging available, I think it makes no sense to enable
debugging messages by default, especially for such old drivers which
aren't been actively developed any longer.

[1] http://lists.opensuse.org/opensuse-kernel/2011-07/msg00060.html

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Joe Perches <joe@perches.com>
---
 drivers/net/tulip/Makefile |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/net/tulip/Makefile
+++ b/drivers/net/tulip/Makefile
@@ -2,8 +2,6 @@
 # Makefile for the Linux "Tulip" family network device drivers.
 #
 
-ccflags-$(CONFIG_NET_TULIP)	:= -DDEBUG
-
 obj-$(CONFIG_PCMCIA_XIRCOM)	+= xircom_cb.o
 obj-$(CONFIG_DM9102)		+= dmfe.o
 obj-$(CONFIG_WINBOND_840)	+= winbond-840.o

-- 
Jean Delvare
Suse L3

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

end of thread, other threads:[~2011-07-18 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 12:40 [PATCH] tulip: Disable debugging messages by default Jean Delvare
2011-07-18 14:50 ` [PATCH] tulip: dmfe: Remove old log spamming pr_debugs Joe Perches
2011-07-18 17:45   ` David Miller
2011-07-18 18:05     ` Joe Perches
2011-07-18 18:11       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox