]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NET] net/core/utils: fix sparse warning
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 8 Aug 2007 01:02:43 +0000 (18:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2007 01:02:43 +0000 (18:02 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/utils.c

index 2030bb8c2d30c4c27fccf960f87acd51fc5fac54..0bf17da40d52e0b60158052c20783ea5f5fe24ba 100644 (file)
@@ -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>