public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for parameter '
@ 2012-10-03 13:29 Fengguang Wu
  2012-10-03 14:00 ` [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet David Howells
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-10-03 13:29 UTC (permalink / raw)
  To: kernel-janitors

Hi David,

FYI, kernel build failed on

tree:   git://git.infradead.org/users/dhowells/linux-headers.git uapi-split
head:   72541c7f48c3dcd7b9cbc3c56a804f7901c2c3dc
commit: 81be833cfcaa1b0186bc21f97ee9e65dc71506d5 [44/75] UAPI: (Scripted) Disintegrate include/asm-generic
config: openrisc-or1ksim_defconfig

I also see lots of errors when compiling its HEAD commit. linus/master builds fine.

All error/warnings:

include/linux/seq_file.h:35:1: warning: empty declaration
include/linux/seq_file.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:92:1: error: expected declaration specifiers before '__attribute__'
include/linux/seq_file.h:93:1: error: expected declaration specifiers before '__attribute__'
include/linux/seq_file.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/seq_file.h:150:26: error: storage class specified for parameter 'seq_list_start'
include/linux/seq_file.h:152:26: error: storage class specified for parameter 'seq_list_start_head'
include/linux/seq_file.h:154:26: error: storage class specified for parameter 'seq_list_next'
include/linux/seq_file.h:161:27: error: storage class specified for parameter 'seq_hlist_start'
include/linux/seq_file.h:163:27: error: storage class specified for parameter 'seq_hlist_start_head'
include/linux/seq_file.h:165:27: error: storage class specified for parameter 'seq_hlist_next'
include/linux/seq_file.h:168:27: error: storage class specified for parameter 'seq_hlist_start_rcu'
include/linux/seq_file.h:170:27: error: storage class specified for parameter 'seq_hlist_start_head_rcu'
include/linux/seq_file.h:172:27: error: storage class specified for parameter 'seq_hlist_next_rcu'
In file included from include/linux/ftrace_event.h:4:0,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/ring_buffer.h:8:1: warning: empty declaration
include/linux/ring_buffer.h:9:1: warning: empty declaration
include/linux/ring_buffer.h:14:1: warning: empty declaration
include/linux/ring_buffer.h:54:1: warning: empty declaration
include/linux/ring_buffer.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ring_buffer.h:184:1: warning: empty declaration
include/linux/ring_buffer.h:189:1: warning: empty declaration
In file included from include/linux/ftrace_event.h:5:0,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/trace_seq.h:13:1: warning: empty declaration
include/linux/trace_seq.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/trace_seq.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ftrace_event.h:8:0,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/perf_event.h:28:1: warning: empty declaration
include/linux/perf_event.h:44:1: warning: empty declaration
include/linux/perf_event.h:69:1: warning: empty declaration
include/linux/perf_event.h:81:1: warning: empty declaration
include/linux/perf_event.h:89:1: warning: empty declaration
include/linux/perf_event.h:102:1: warning: empty declaration
include/linux/perf_event.h:120:1: warning: empty declaration
include/linux/perf_event.h:149:1: warning: empty declaration
include/linux/perf_event.h:170:1: warning: empty declaration
include/linux/perf_event.h:196:1: warning: empty declaration
include/linux/perf_event.h:214:1: warning: empty declaration
include/linux/perf_event.h:320:1: warning: empty declaration
include/linux/perf_event.h:327:1: warning: empty declaration
include/linux/perf_event.h:457:1: warning: empty declaration
include/linux/perf_event.h:463:1: warning: empty declaration
include/linux/perf_event.h:599:1: warning: empty declaration
include/linux/perf_event.h:626:1: warning: empty declaration
In file included from include/linux/pid_namespace.h:8:0,
                 from include/linux/perf_event.h:643,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/nsproxy.h:7:1: warning: empty declaration
include/linux/nsproxy.h:8:1: warning: empty declaration
include/linux/nsproxy.h:9:1: warning: empty declaration
include/linux/nsproxy.h:10:1: warning: empty declaration
include/linux/nsproxy.h:11:1: warning: empty declaration
include/linux/nsproxy.h:25:1: warning: empty declaration
include/linux/nsproxy.h:33:23: error: storage class specified for parameter 'init_nsproxy'
include/linux/nsproxy.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/nsproxy.h:71:12: error: section attribute not allowed for 'nsproxy_cache_init'
include/linux/nsproxy.h:71:1: warning: '__cold__' attribute ignored
include/linux/nsproxy.h:71:12: error: 'no_instrument_function' attribute applies only to functions
include/linux/nsproxy.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/nsproxy.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/perf_event.h:643:0,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/pid_namespace.h:11:1: warning: empty declaration
include/linux/pid_namespace.h:18:1: warning: empty declaration
include/linux/pid_namespace.h:20:1: warning: empty declaration
include/linux/pid_namespace.h:39:29: error: storage class specified for parameter 'init_pid_ns'
include/linux/pid_namespace.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:91:30: error: storage class specified for parameter 'task_active_pid_ns'
In file included from include/linux/ftrace.h:9:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/trace_clock.h:15:20: error: storage class specified for parameter 'trace_clock_local'
include/linux/trace_clock.h:15:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:16:20: error: storage class specified for parameter 'trace_clock'
include/linux/trace_clock.h:16:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:17:20: error: storage class specified for parameter 'trace_clock_global'
include/linux/trace_clock.h:17:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:18:20: error: storage class specified for parameter 'trace_clock_counter'
include/linux/trace_clock.h:18:20: error: 'no_instrument_function' attribute applies only to functions
In file included from include/linux/ftrace.h:10:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/kallsyms.h:16:1: warning: empty declaration
include/linux/kallsyms.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ftrace.h:10:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/kallsyms.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/perf_event.h:645:0,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/ftrace.h:44:1: warning: empty declaration
include/linux/ftrace.h:45:1: warning: empty declaration
include/linux/ftrace.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:227:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:228:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:229:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:230:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:241:1: warning: empty declaration
include/linux/ftrace.h:524:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:525:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:526:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:527:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:528:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:534:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:538:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:559:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:561:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:567:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:627:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:628:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:646:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:652:1: warning: empty declaration
include/linux/ftrace.h:660:1: warning: empty declaration
include/linux/ftrace.h:670:16: error: storage class specified for parameter 'trace_func_graph_ret_t'
include/linux/ftrace.h:671:15: error: storage class specified for parameter 'trace_func_graph_ent_t'
include/linux/ftrace.h:756:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:757:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:758:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:760:64: error: expected ')' before 'retfunc'
include/linux/ftrace.h:765:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:768:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:772:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:773:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/cpu.h:17:0,
                 from include/linux/perf_event.h:646,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
include/linux/node.h:21:1: warning: empty declaration
include/linux/node.h:29:1: warning: empty declaration
include/linux/node.h:30:20: error: storage class specified for parameter 'node_devices'
include/linux/node.h:31:17: error: storage class specified for parameter 'node_registration_func_t'
include/linux/node.h:33:12: error: storage class specified for parameter 'register_node'
include/linux/node.h:34:13: error: storage class specified for parameter 'unregister_node'
include/linux/node.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/node.h:77:74: error: expected ')' before 'reg'
In file included from include/linux/perf_event.h:646:0,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/open.c:26:
--
include/linux/irq.h:545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:550:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:561:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:567:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:617:1: warning: empty declaration
include/linux/irq.h:641:2: error: expected specifier-qualifier-list before 'irq_flow_handler_t'
include/linux/irq.h:638:1: warning: empty declaration
include/linux/irq.h:667:1: warning: empty declaration
include/linux/irq.h:690:1: warning: empty declaration
include/linux/irq.h:710:34: error: expected declaration specifiers or '...' before 'irq_flow_handler_t'
include/linux/irq.h:719:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:736:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/irq.h:737:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from arch/openrisc/include/generated/asm/hardirq.h:1:0,
                 from include/linux/hardirq.h:7,
                 from include/linux/ftrace_event.h:7,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/asm-generic/hardirq.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ftrace_event.h:7:0,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/hardirq.h:127:13: error: storage class specified for parameter 'synchronize_irq'
include/linux/hardirq.h:132:1: warning: empty declaration
include/linux/hardirq.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/hardirq.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/hardirq.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/hardirq.h:173:13: error: storage class specified for parameter 'irq_enter'
include/linux/hardirq.h:188:13: error: storage class specified for parameter 'irq_exit'
In file included from include/linux/ftrace_event.h:8:0,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/perf_event.h:28:1: warning: empty declaration
include/linux/perf_event.h:44:1: warning: empty declaration
include/linux/perf_event.h:69:1: warning: empty declaration
include/linux/perf_event.h:81:1: warning: empty declaration
include/linux/perf_event.h:89:1: warning: empty declaration
include/linux/perf_event.h:102:1: warning: empty declaration
include/linux/perf_event.h:120:1: warning: empty declaration
include/linux/perf_event.h:149:1: warning: empty declaration
include/linux/perf_event.h:170:1: warning: empty declaration
include/linux/perf_event.h:196:1: warning: empty declaration
include/linux/perf_event.h:214:1: warning: empty declaration
include/linux/perf_event.h:320:1: warning: empty declaration
include/linux/perf_event.h:327:1: warning: empty declaration
include/linux/perf_event.h:457:1: warning: empty declaration
include/linux/perf_event.h:463:1: warning: empty declaration
include/linux/perf_event.h:599:1: warning: empty declaration
include/linux/perf_event.h:626:1: warning: empty declaration
In file included from include/linux/pid_namespace.h:8:0,
                 from include/linux/perf_event.h:643,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/nsproxy.h:7:1: warning: empty declaration
include/linux/nsproxy.h:8:1: warning: empty declaration
include/linux/nsproxy.h:9:1: warning: empty declaration
include/linux/nsproxy.h:10:1: warning: empty declaration
include/linux/nsproxy.h:11:1: warning: empty declaration
include/linux/nsproxy.h:25:1: warning: empty declaration
include/linux/nsproxy.h:33:23: error: storage class specified for parameter 'init_nsproxy'
include/linux/nsproxy.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/nsproxy.h:71:12: error: section attribute not allowed for 'nsproxy_cache_init'
include/linux/nsproxy.h:71:1: warning: '__cold__' attribute ignored
include/linux/nsproxy.h:71:12: error: 'no_instrument_function' attribute applies only to functions
include/linux/nsproxy.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/nsproxy.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/pid_namespace.h:9:0,
                 from include/linux/perf_event.h:643,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/kref.h:23:1: warning: empty declaration
include/linux/kref.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kref.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kref.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kref.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kref.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/perf_event.h:643:0,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/pid_namespace.h:11:1: warning: empty declaration
include/linux/pid_namespace.h:18:1: warning: empty declaration
include/linux/pid_namespace.h:20:1: warning: empty declaration
include/linux/pid_namespace.h:39:29: error: storage class specified for parameter 'init_pid_ns'
include/linux/pid_namespace.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/pid_namespace.h:91:30: error: storage class specified for parameter 'task_active_pid_ns'
In file included from include/linux/ftrace.h:9:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/trace_clock.h:15:20: error: storage class specified for parameter 'trace_clock_local'
include/linux/trace_clock.h:15:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:16:20: error: storage class specified for parameter 'trace_clock'
include/linux/trace_clock.h:16:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:17:20: error: storage class specified for parameter 'trace_clock_global'
include/linux/trace_clock.h:17:20: error: 'no_instrument_function' attribute applies only to functions
include/linux/trace_clock.h:18:20: error: storage class specified for parameter 'trace_clock_counter'
include/linux/trace_clock.h:18:20: error: 'no_instrument_function' attribute applies only to functions
In file included from include/linux/ftrace.h:10:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/kallsyms.h:16:1: warning: empty declaration
include/linux/kallsyms.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ftrace.h:10:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/kallsyms.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/kallsyms.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ftrace.h:13:0,
                 from include/linux/perf_event.h:645,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/ptrace.h:117:13: error: storage class specified for parameter 'arch_ptrace'
include/linux/ptrace.h:119:12: error: storage class specified for parameter 'ptrace_readdata'
include/linux/ptrace.h:120:12: error: storage class specified for parameter 'ptrace_writedata'
include/linux/ptrace.h:121:13: error: storage class specified for parameter 'ptrace_disable'
include/linux/ptrace.h:122:12: error: storage class specified for parameter 'ptrace_check_attach'
include/linux/ptrace.h:123:12: error: storage class specified for parameter 'ptrace_request'
include/linux/ptrace.h:125:13: error: storage class specified for parameter 'ptrace_notify'
include/linux/ptrace.h:126:13: error: storage class specified for parameter '__ptrace_link'
include/linux/ptrace.h:128:13: error: storage class specified for parameter '__ptrace_unlink'
include/linux/ptrace.h:129:13: error: storage class specified for parameter 'exit_ptrace'
include/linux/ptrace.h:134:13: error: storage class specified for parameter 'ptrace_may_access'
include/linux/ptrace.h:137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:217:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:350:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ptrace.h:404:12: error: storage class specified for parameter 'task_current_syscall'
include/linux/ptrace.h:412:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/perf_event.h:645:0,
                 from include/linux/ftrace_event.h:8,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:78,
                 from fs/utimes.c:10:
include/linux/ftrace.h:44:1: warning: empty declaration
include/linux/ftrace.h:45:1: warning: empty declaration
include/linux/ftrace.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:227:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:228:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:229:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:230:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:241:1: warning: empty declaration
include/linux/ftrace.h:524:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:525:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:526:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:527:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:528:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:534:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:538:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:559:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:561:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:567:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:627:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:628:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:646:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:652:1: warning: empty declaration
include/linux/ftrace.h:660:1: warning: empty declaration
include/linux/ftrace.h:670:16: error: storage class specified for parameter 'trace_func_graph_ret_t'
include/linux/ftrace.h:671:15: error: storage class specified for parameter 'trace_func_graph_ent_t'
include/linux/ftrace.h:756:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/ftrace.h:757:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
..

vim +17 include/linux/projid.h

f76d207a (Eric W. Biederman 2012-08-30   1) #ifndef _LINUX_PROJID_H
f76d207a (Eric W. Biederman 2012-08-30   2) #define _LINUX_PROJID_H
f76d207a (Eric W. Biederman 2012-08-30   3) 
f76d207a (Eric W. Biederman 2012-08-30   4) /*
f76d207a (Eric W. Biederman 2012-08-30   5)  * A set of types for the internal kernel types representing project ids.
f76d207a (Eric W. Biederman 2012-08-30   6)  *
f76d207a (Eric W. Biederman 2012-08-30   7)  * The types defined in this header allow distinguishing which project ids in
f76d207a (Eric W. Biederman 2012-08-30   8)  * the kernel are values used by userspace and which project id values are
f76d207a (Eric W. Biederman 2012-08-30   9)  * the internal kernel values.  With the addition of user namespaces the values
f76d207a (Eric W. Biederman 2012-08-30  10)  * can be different.  Using the type system makes it possible for the compiler
f76d207a (Eric W. Biederman 2012-08-30  11)  * to detect when we overlook these differences.
f76d207a (Eric W. Biederman 2012-08-30  12)  *
f76d207a (Eric W. Biederman 2012-08-30  13)  */
f76d207a (Eric W. Biederman 2012-08-30  14) #include <linux/types.h>
f76d207a (Eric W. Biederman 2012-08-30  15) 
f76d207a (Eric W. Biederman 2012-08-30  16) struct user_namespace;
f76d207a (Eric W. Biederman 2012-08-30 @17) extern struct user_namespace init_user_ns;
f76d207a (Eric W. Biederman 2012-08-30  18) 
f76d207a (Eric W. Biederman 2012-08-30  19) typedef __kernel_uid32_t projid_t;
f76d207a (Eric W. Biederman 2012-08-30  20) 
f76d207a (Eric W. Biederman 2012-08-30  21) #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS
f76d207a (Eric W. Biederman 2012-08-30  22) 
f76d207a (Eric W. Biederman 2012-08-30  23) typedef struct {
f76d207a (Eric W. Biederman 2012-08-30  24) 	projid_t val;
f76d207a (Eric W. Biederman 2012-08-30  25) } kprojid_t;

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet
  2012-10-03 13:29 [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for parameter ' Fengguang Wu
@ 2012-10-03 14:00 ` David Howells
  2012-10-03 14:12 ` Fengguang Wu
  2012-10-03 14:43 ` David Howells
  2 siblings, 0 replies; 4+ messages in thread
From: David Howells @ 2012-10-03 14:00 UTC (permalink / raw)
  To: kernel-janitors

Fengguang Wu <fengguang.wu@intel.com> wrote:

> FYI, kernel build failed on
> 
> tree:   git://git.infradead.org/users/dhowells/linux-headers.git uapi-split
> head:   72541c7f48c3dcd7b9cbc3c56a804f7901c2c3dc
> commit: 81be833cfcaa1b0186bc21f97ee9e65dc71506d5 [44/75] UAPI: (Scripted) Disintegrate include/asm-generic
> config: openrisc-or1ksim_defconfig

I don't have a compiler for that.  Where did you get yours from?

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet
  2012-10-03 13:29 [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for parameter ' Fengguang Wu
  2012-10-03 14:00 ` [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet David Howells
@ 2012-10-03 14:12 ` Fengguang Wu
  2012-10-03 14:43 ` David Howells
  2 siblings, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-10-03 14:12 UTC (permalink / raw)
  To: kernel-janitors

On Wed, Oct 03, 2012 at 03:00:27PM +0100, David Howells wrote:
> Fengguang Wu <fengguang.wu@intel.com> wrote:
> 
> > FYI, kernel build failed on
> > 
> > tree:   git://git.infradead.org/users/dhowells/linux-headers.git uapi-split
> > head:   72541c7f48c3dcd7b9cbc3c56a804f7901c2c3dc
> > commit: 81be833cfcaa1b0186bc21f97ee9e65dc71506d5 [44/75] UAPI: (Scripted) Disintegrate include/asm-generic
> > config: openrisc-or1ksim_defconfig
> 
> I don't have a compiler for that.  Where did you get yours from?

https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/

I downloaded all of them (*/*.tar.xz), extracted to /usr/local, and
used the below script to simplify things. You may also try ktest.

setup:

        cd linux
        mkdir obj-compiletest
        cd obj-compiletest
        ln -s .. source

Usage:

        cd linux
        git checkout uapi-split

        cd obj-compiletest
        export ARCH=openrisc
        make distclean
        make or1ksim_defconfig
        make prepare
        make

Thanks,
Fengguang

$ cat ~/bin/make
#!/bin/bash

# compile the kernel?
[[ -f kernel/spinlock.c || -f source/kernel/spinlock.c ]] || exec /usr/bin/make "$@"

if [[ ${PWD##*-} =~ ^(i386|x86_64|alpha|arm|avr32|blackfin|c6x|cris|frv|h8300|hexagon|ia64|m32r|m68k|microblaze|mips|mn10300|openrisc|parisc|powerpc|s390|score|sh|sparc|sparc64|tile|um|unicore32|xtensa)$ ]]; then
	export ARCH=${PWD##*-}
fi

setup_cross_env_kernel_org()
{
	case $ARCH in
		i386|x86_64)
			CROSS			;;
		um)
			CROSS			subarch=SUBARCH=x86_64
			;;
		arm)
			CROSS=arm-unknown-linux-gnueabi
			;;
		powerpc)
			CROSS=powerpc64-linux
			;;
		blackfin)
			CROSS¿in-uclinux
			;;
		sh)
			CROSS=sh4-linux
			;;
		parisc)
			CROSS=hppa-linux
			;;
		openrisc)
			CROSS=or32-linux
			;;
		s390)
			CROSS=s390x-linux
			;;
		tile)
			CROSS=tilegx-linux
			;;
		*)
			CROSS=$ARCH-linux
			;;
	esac
	if [[ $CROSS ]]; then
		gcc=(/usr/local/gcc-*-nolibc/${CROSS}/bin/${CROSS}-gcc)
		[[ -x $gcc ]] || {
			notice "No cross compiler for $ARCH"
			exit
		}
		cross=CROSS_COMPILE=${gcc%gcc}
	else
		cross	fi
}

setup_cross_env_local_itanium()
{
	case $ARCH in
		ia64)
			CROSS			;;
		parisc)
			CROSS=hppa-linux
			;;
		sh)
			CROSS=sh3-linux
			;;
		blackfin)
			CROSS¿in-uclinux
			;;
		avr32)
			CROSS=avr-linux
			;;
		mn10300)
			CROSS=am33_2.0-linux
			;;
		h8300)
			CROSS=h8300-elf
			;;
		arm|score|m68k)
			# failed to build gcc cross compiler
			notice error $ARCH not supported
			exit
			;;
		*)
			CROSS=$ARCH-linux
			;;
	esac
	if [[ $CROSS ]]; then
		[[ -x /opt/cross/bin/$CROSS-gcc ]] || {
			notice "No cross compiler for $ARCH"
			exit
		}
		cross=CROSS_COMPILE=/opt/cross/bin/$CROSS-
	else
		cross	fi
}

if [ -x /opt/cross/bin/x86_64-linux-gcc ]; then
	: ${ARCH:=ia64}
	setup_cross_env_local_itanium
else
	: ${ARCH:=x86_64}
	setup_cross_env_kernel_org
fi

# export CROSS_COMPILE=$ARCH-linux-gnu-
if [ -d obj-$ARCH ]; then
	export KBUILD_OUTPUT=obj-$ARCH
	O=KBUILD_OUTPUT=obj-$ARCH
fi

export INSTALL_PATH=$HOME/public_html/$ARCH
export INSTALL_MOD_PATH=/nfsroot/$USER-$ARCH

[ -f .make-env ] && source ./.make-env

if [[ -d source && -L source ]]; then
	echo /usr/bin/make -C source O=$PWD ARCH=$ARCH $cross $subarch "$@"
	exec /usr/bin/make -C source O=$PWD ARCH=$ARCH $cross $subarch "$@"
else
	echo /usr/bin/make $O ARCH=$ARCH $cross $subarch "$@"
	exec /usr/bin/make $O ARCH=$ARCH $cross $subarch "$@"
fi
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet
  2012-10-03 13:29 [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for parameter ' Fengguang Wu
  2012-10-03 14:00 ` [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet David Howells
  2012-10-03 14:12 ` Fengguang Wu
@ 2012-10-03 14:43 ` David Howells
  2 siblings, 0 replies; 4+ messages in thread
From: David Howells @ 2012-10-03 14:43 UTC (permalink / raw)
  To: kernel-janitors


Bah.

In asm-generic/unistd.h, someone put a guard on the header file that I wasn't
expecting:

	#if !defined(_ASM_GENERIC_UNISTD_H) || defined(__SYSCALL)

and so my script can't deal with it.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-03 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03 13:29 [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for parameter ' Fengguang Wu
2012-10-03 14:00 ` [uapi:uapi-split 44/75] include/linux/projid.h:17:30: error: storage class specified for paramet David Howells
2012-10-03 14:12 ` Fengguang Wu
2012-10-03 14:43 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox