* [PATCH] net/core/utils: fix sparse warning
@ 2007-08-06 16:37 Johannes Berg
2007-08-08 1:03 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2007-08-06 16:37 UTC (permalink / raw)
To: David Miller; +Cc: netdev
net_msg_warn is not defined because it is in net/sock.h which isn't
included.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/core/utils.c | 1 +
1 file changed, 1 insertion(+)
--- wireless-dev.orig/net/core/utils.c 2007-08-06 18:35:29.197838489 +0200
+++ wireless-dev/net/core/utils.c 2007-08-06 18:35:52.227838489 +0200
@@ -25,6 +25,7 @@
#include <linux/random.h>
#include <linux/percpu.h>
#include <linux/init.h>
+#include <net/sock.h>
#include <asm/byteorder.h>
#include <asm/system.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net/core/utils: fix sparse warning
2007-08-06 16:37 [PATCH] net/core/utils: fix sparse warning Johannes Berg
@ 2007-08-08 1:03 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-08-08 1:03 UTC (permalink / raw)
To: johannes; +Cc: netdev
From: Johannes Berg <johannes@sipsolutions.net>
Date: Mon, 06 Aug 2007 18:37:26 +0200
> net_msg_warn is not defined because it is in net/sock.h which isn't
> included.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Applied, thanks Johannes.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-08 1:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 16:37 [PATCH] net/core/utils: fix sparse warning Johannes Berg
2007-08-08 1:03 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox