[PATCH] net/core/utils: fix sparse warning

2007-08-07 Thread Johannes Berg
net_msg_warn is not defined because it is in net/sock.h which isn't
included.

Signed-off-by: Johannes Berg [EMAIL PROTECTED]

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


-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] net/core/utils: fix sparse warning

2007-08-07 Thread David Miller
From: Johannes Berg [EMAIL PROTECTED]
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 [EMAIL PROTECTED]

Applied, thanks Johannes.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html