aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-07 21:02:43 -0400
committerDavid S. Miller <davem@davemloft.net>2007-08-07 21:02:43 -0400
commit14ae856645dba5b9ba56b2d0627b3b9825fa37b2 (patch)
tree8138ad05a3836f73c1f4f0593c5c73add1141d81
parent3482fd9099e8aab8b8096eb6da93571ea5a0b4c2 (diff)
[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>
-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 @@
25#include <linux/random.h> 25#include <linux/random.h>
26#include <linux/percpu.h> 26#include <linux/percpu.h>
27#include <linux/init.h> 27#include <linux/init.h>
28#include <net/sock.h>
28 29
29#include <asm/byteorder.h> 30#include <asm/byteorder.h>
30#include <asm/system.h> 31#include <asm/system.h>