Explorar o código

[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 %!s(int64=18) %!d(string=hai) anos
pai
achega
14ae856645
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      net/core/utils.c

+ 1 - 0
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>