* pr_debug usage in raw_sendmsg
@ 2011-04-12 22:31 Dave Jones
2011-04-12 22:33 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2011-04-12 22:31 UTC (permalink / raw)
To: netdev
While working on my system call fuzzer, I keep getting a lot
of spew in dmesg from raw_sendmsg. Particularly..
[ 6442.690780] no dev
[ 6454.257701] msg_flags 0x00000080
[ 8055.873142] msg->msg_flags = 0xd63f35c1
Is there a good reason for keeping -DDEBUG in net/ieee802154/Makefile ?
Those messages don't look particularly helpful given there's no other context.
(the 'no dev' one in particular looks kinda hopeless)
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pr_debug usage in raw_sendmsg
2011-04-12 22:31 pr_debug usage in raw_sendmsg Dave Jones
@ 2011-04-12 22:33 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-04-12 22:33 UTC (permalink / raw)
To: davej; +Cc: netdev
From: Dave Jones <davej@redhat.com>
Date: Tue, 12 Apr 2011 18:31:37 -0400
> While working on my system call fuzzer, I keep getting a lot
> of spew in dmesg from raw_sendmsg. Particularly..
>
> [ 6442.690780] no dev
> [ 6454.257701] msg_flags 0x00000080
> [ 8055.873142] msg->msg_flags = 0xd63f35c1
>
> Is there a good reason for keeping -DDEBUG in net/ieee802154/Makefile ?
>
> Those messages don't look particularly helpful given there's no other context.
> (the 'no dev' one in particular looks kinda hopeless)
All of those cflags modifications in net/ieee802154/Makefile are bogus,
I'll commit the following:
--------------------
ieee802154: Remove hacked CFLAGS in net/ieee802154/Makefile
It adds -Wall (which the kernel carefully controls already) and of all
things -DDEBUG (which should be set by other means if desired, please
we have dynamic-debug these days).
Kill this noise.
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
net/ieee802154/Makefile | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/net/ieee802154/Makefile b/net/ieee802154/Makefile
index ce2d335..5761185 100644
--- a/net/ieee802154/Makefile
+++ b/net/ieee802154/Makefile
@@ -1,5 +1,3 @@
obj-$(CONFIG_IEEE802154) += ieee802154.o af_802154.o
ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o wpan-class.o
af_802154-y := af_ieee802154.o raw.o dgram.o
-
-ccflags-y += -Wall -DDEBUG
--
1.7.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-12 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 22:31 pr_debug usage in raw_sendmsg Dave Jones
2011-04-12 22:33 ` 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).