projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3482fd9
)
[NET] net/core/utils: fix sparse warning
author
Johannes Berg
<johannes@sipsolutions.net>
Wed, 8 Aug 2007 01:02:43 +0000
(18:02 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/utils.c
b/net/core/utils.c
index 2030bb8c2d30c4c27fccf960f87acd51fc5fac54..0bf17da40d52e0b60158052c20783ea5f5fe24ba 100644
(file)
--- 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>