include/net/net_namespace.h:122:9: error:‘net_ns’ undeclared (first use in this function)

From: <hidden>
Date: 2012-06-14 05:14:19

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git user-namespace-v41
head:   c4d23eefc4fdc44ac1b427f3b7c251281a90b6ee
commit: dfbd6496936ca2d707441f1dd21a64df846c468b [92/97] userns: make each net (net_ns) belong to a user_ns
config: i386-alldefconfig (attached as .config)

All related error/warning messages are:

include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
                 from kernel/nsproxy.c:19:
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h:123:1: warning: control reaches end of non-void function [-Wreturn-type]
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in
include/net/net_namespace.h: In function ‘copy_net_ns’:
include/net/net_namespace.h:122:9: error: ‘net_ns’ undeclared (first use in this function)
include/net/net_namespace.h:122:9: note: each undeclared identifier is reported only once for each function it appears in

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help