浏览代码

[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>
Johannes Berg 18 年之前
父节点
当前提交
14ae856645
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/core/utils.c

+ 1 - 0
net/core/utils.c

@@ -25,6 +25,7 @@
 #include <linux/random.h>
 #include <linux/random.h>
 #include <linux/percpu.h>
 #include <linux/percpu.h>
 #include <linux/init.h>
 #include <linux/init.h>
+#include <net/sock.h>
 
 
 #include <asm/byteorder.h>
 #include <asm/byteorder.h>
 #include <asm/system.h>
 #include <asm/system.h>