aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-07 18:02:43 -0700
committerDavid S. Miller <davem@davemloft.net>2007-08-07 18:02:43 -0700
commit14ae856645dba5b9ba56b2d0627b3b9825fa37b2 (patch)
tree8138ad05a3836f73c1f4f0593c5c73add1141d81 /net
parent[NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping hash table (diff)
downloadlinux-dev-14ae856645dba5b9ba56b2d0627b3b9825fa37b2.tar.xz
linux-dev-14ae856645dba5b9ba56b2d0627b3b9825fa37b2.zip
[NET] net/core/utils: fix sparse warning
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>
Diffstat (limited to 'net')
-rw-r--r--net/core/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/utils.c b/net/core/utils.c
index 2030bb8c2d30..0bf17da40d52 100644
--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -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>