========== build_allmodconfig_warn - FAILED ../fs/bpf_fs_kfuncs.c:39:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:55:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:114:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:155:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:828:41: got void * ../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3502:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3510:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3551:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2607:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2611:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21778:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../net/core/filter.c:12071:1: error: return type defaults to ‘int’ [-Wimplicit-int] 12071 | BTF_HIDDEN_KFUNCS_START(bpf_kfunc_check_hidden_set_skb) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12071:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:28, from ../include/linux/bpf_verifier.h:7, from ../net/core/filter.c:21: ../net/core/filter.c: In function ‘BTF_HIDDEN_KFUNCS_START’: ../net/core/filter.c:12075:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_xdp’ 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_xdp’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12075:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12079:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_sock_addr’ 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_sock_addr’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12079:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12083:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_tcp_reqsk’ 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_tcp_reqsk’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12083:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12087:13: error: storage class specified for parameter ‘bpf_dynptr_from_skb_list’ 12087 | BTF_ID_LIST(bpf_dynptr_from_skb_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../net/core/filter.c:12092:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12092 | { | ^ ../net/core/filter.c:12122:38: error: storage class specified for parameter ‘bpf_kfunc_set_skb’ 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12122:21: error: parameter ‘bpf_kfunc_set_skb’ is initialized 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12125:24: error: ‘bpf_kfunc_check_hidden_set_skb’ undeclared (first use in this function); did you mean ‘bpf_kfunc_check_set_skb’? 12125 | .hidden_set = &bpf_kfunc_check_hidden_set_skb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | bpf_kfunc_check_set_skb ../net/core/filter.c:12125:24: note: each undeclared identifier is reported only once for each function it appears in ../net/core/filter.c:12126:19: error: ‘bpf_kfunc_set_skb_remap’ undeclared (first use in this function); did you mean ‘bpf_kfunc_set_skb’? 12126 | .remap = &bpf_kfunc_set_skb_remap, | ^~~~~~~~~~~~~~~~~~~~~~~ | bpf_kfunc_set_skb ../net/core/filter.c:12129:38: error: storage class specified for parameter ‘bpf_kfunc_set_xdp’ 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12129:21: error: parameter ‘bpf_kfunc_set_xdp’ is initialized 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:38: error: storage class specified for parameter ‘bpf_kfunc_set_sock_addr’ 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:21: error: parameter ‘bpf_kfunc_set_sock_addr’ is initialized 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12139:38: error: storage class specified for parameter ‘bpf_kfunc_set_tcp_reqsk’ 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12139:21: error: parameter ‘bpf_kfunc_set_tcp_reqsk’ is initialized 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12145:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12145 | { | ^ In file included from : ../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12164:1: error: parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ is initialized ../net/core/filter.c:12164:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../arch/x86/include/asm/atomic.h:5, from ../include/linux/atomic.h:7, from ../net/core/filter.c:20: ../net/core/filter.c:12164:15: error: ‘bpf_kfunc_init’ undeclared (first use in this function); did you mean ‘bpf_func_info’? 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~~ ../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/ktime.h:24, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10: ../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ 262 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/atomic/atomic-instrumented.h:15, from ../include/linux/atomic.h:82: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ 266 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12164:30: error: expected declaration specifiers before ‘;’ token 12164 | late_initcall(bpf_kfunc_init); | ^ In file included from ./../include/linux/compiler_types.h:174: ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ./../include/linux/compiler_types.h:557:25: note: in expansion of macro ‘__diag’ 557 | #define __diag_push() __diag(push) | ^~~~~~ ../include/linux/btf.h:89:9: note: in expansion of macro ‘__diag_push’ 89 | __diag_push(); \ | ^~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ../include/linux/compiler-gcc.h:143:9: note: in expansion of macro ‘__diag’ 143 | __diag(__diag_GCC_ignore option) | ^~~~~~ ../include/linux/btf.h:90:9: note: in expansion of macro ‘__diag_ignore_all’ 90 | __diag_ignore_all("-Wmissing-declarations", \ | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ../include/linux/compiler-gcc.h:143:9: note: in expansion of macro ‘__diag’ 143 | __diag(__diag_GCC_ignore option) | ^~~~~~ ../include/linux/btf.h:92:9: note: in expansion of macro ‘__diag_ignore_all’ 92 | __diag_ignore_all("-Wmissing-prototypes", \ | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/linux/compiler_types.h:89: ../include/linux/compiler_attributes.h:349:41: error: expected declaration specifiers before ‘__attribute__’ 349 | #define __used __attribute__((__used__)) | ^~~~~~~~~~~~~ ../include/linux/btf.h:86:21: note: in expansion of macro ‘__used’ 86 | #define __bpf_kfunc __used __retain noinline | ^~~~~~ ../net/core/filter.c:12184:1: note: in expansion of macro ‘__bpf_kfunc’ 12184 | __bpf_kfunc int bpf_sock_destroy(struct sock_common *sock) | ^~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ./../include/linux/compiler_types.h:558:25: note: in expansion of macro ‘__diag’ 558 | #define __diag_pop() __diag(pop) | ^~~~~~ ../include/linux/btf.h:95:32: note: in expansion of macro ‘__diag_pop’ 95 | #define __bpf_kfunc_end_defs() __diag_pop() | ^~~~~~~~~~ ../net/core/filter.c:12200:1: note: in expansion of macro ‘__bpf_kfunc_end_defs’ 12200 | __bpf_kfunc_end_defs(); | ^~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12202:18: error: storage class specified for parameter ‘bpf_sk_iter_kfunc_ids’ 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_sk_iter_kfunc_ids’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12202:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12207 | { | ^ ../net/core/filter.c:12214:38: error: storage class specified for parameter ‘bpf_sk_iter_kfunc_set’ 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12214:21: error: parameter ‘bpf_sk_iter_kfunc_set’ is initialized 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12217:19: error: ‘tracing_iter_filter’ undeclared (first use in this function) 12217 | .filter = tracing_iter_filter, | ^~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12221:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12221 | { | ^ ../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:1: error: parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ is initialized ../net/core/filter.c:12224:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_init_subsystem2976’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:15: error: ‘init_subsystem’ undeclared (first use in this function) 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~~ ../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ 262 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ 266 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:30: error: expected declaration specifiers before ‘;’ token 12224 | late_initcall(init_subsystem); | ^ ../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ but no such parameter 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12214:38: error: declaration for parameter ‘bpf_sk_iter_kfunc_set’ but no such parameter 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12202:18: error: declaration for parameter ‘bpf_sk_iter_kfunc_ids’ but no such parameter 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ but no such parameter 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12139:38: error: declaration for parameter ‘bpf_kfunc_set_tcp_reqsk’ but no such parameter 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:38: error: declaration for parameter ‘bpf_kfunc_set_sock_addr’ but no such parameter 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12129:38: error: declaration for parameter ‘bpf_kfunc_set_xdp’ but no such parameter 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12122:38: error: declaration for parameter ‘bpf_kfunc_set_skb’ but no such parameter 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12087:13: error: declaration for parameter ‘bpf_dynptr_from_skb_list’ but no such parameter 12087 | BTF_ID_LIST(bpf_dynptr_from_skb_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../net/core/filter.c:12083:18: error: declaration for parameter ‘bpf_kfunc_check_set_tcp_reqsk’ but no such parameter 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12079:18: error: declaration for parameter ‘bpf_kfunc_check_set_sock_addr’ but no such parameter 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12075:18: error: declaration for parameter ‘bpf_kfunc_check_set_xdp’ but no such parameter 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12225: error: expected ‘{’ at end of input ../net/core/filter.c:12071:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 12071 | BTF_HIDDEN_KFUNCS_START(bpf_kfunc_check_hidden_set_skb) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12225: error: control reaches end of non-void function [-Werror=return-type] cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:194: net/core/filter.o] Error 1 make[4]: *** [../scripts/Makefile.build:440: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:828:41: got void * ../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3502:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3510:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3551:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2607:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2611:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21778:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../fs/bpf_fs_kfuncs.c:337:1: error: return type defaults to ‘int’ [-Wimplicit-int] 337 | BTF_HIDDEN_KFUNCS_START(bpf_fs_kfunc_hidden_set_ids) | ^~~~~~~~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:337:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] ../fs/bpf_fs_kfuncs.c: In function ‘BTF_HIDDEN_KFUNCS_START’: ../fs/bpf_fs_kfuncs.c:343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 343 | { | ^ In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:28, from ../fs/bpf_fs_kfuncs.c:4: ../fs/bpf_fs_kfuncs.c:363:15: error: storage class specified for parameter ‘d_inode_locked_hooks’ 363 | BTF_SET_START(d_inode_locked_hooks) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:69: note: in definition of macro ‘BTF_SET_START’ 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:230:43: error: parameter ‘d_inode_locked_hooks’ is initialized 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:363:1: note: in expansion of macro ‘BTF_SET_START’ 363 | BTF_SET_START(d_inode_locked_hooks) | ^~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 379 | { | ^ ../fs/bpf_fs_kfuncs.c:383:13: error: storage class specified for parameter ‘not_locked_fs_kfuncs’ 383 | BTF_ID_LIST(not_locked_fs_kfuncs) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../fs/bpf_fs_kfuncs.c:387:13: error: storage class specified for parameter ‘locked_fs_kfuncs’ 387 | BTF_ID_LIST(locked_fs_kfuncs) | ^~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../fs/bpf_fs_kfuncs.c:392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 392 | { | ^ ../fs/bpf_fs_kfuncs.c:404:38: error: storage class specified for parameter ‘bpf_fs_kfunc_set’ 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { | ^~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:404:21: error: parameter ‘bpf_fs_kfunc_set’ is initialized 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { | ^~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:407:24: error: ‘bpf_fs_kfunc_hidden_set_ids’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set_ids’? 407 | .hidden_set = &bpf_fs_kfunc_hidden_set_ids, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | bpf_fs_kfunc_set_ids ../fs/bpf_fs_kfuncs.c:407:24: note: each undeclared identifier is reported only once for each function it appears in ../fs/bpf_fs_kfuncs.c:408:19: error: ‘bpf_fs_kfuncs_filter’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? 408 | .filter = bpf_fs_kfuncs_filter, | ^~~~~~~~~~~~~~~~~~~~ | bpf_fs_kfunc_set ../fs/bpf_fs_kfuncs.c:409:18: error: ‘bpf_fs_kfunc_remap’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? 409 | .remap = bpf_fs_kfunc_remap, | ^~~~~~~~~~~~~~~~~~ | bpf_fs_kfunc_set ../fs/bpf_fs_kfuncs.c:413:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 413 | { | ^ In file included from : ../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: error: parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ is initialized ../fs/bpf_fs_kfuncs.c:417:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8: ../fs/bpf_fs_kfuncs.c:417:15: error: ‘bpf_fs_kfuncs_init’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~~~~~~ ../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/ktime.h:24, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10: ../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ 262 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/container_of.h:5, from ../include/linux/list.h:5, from ../include/linux/timer.h:5: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ 266 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:34: error: expected declaration specifiers before ‘;’ token 417 | late_initcall(bpf_fs_kfuncs_init); | ^ ../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ but no such parameter 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ 417 | late_initcall(bpf_fs_kfuncs_init); | ^~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:404:38: error: declaration for parameter ‘bpf_fs_kfunc_set’ but no such parameter 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { | ^~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:387:13: error: declaration for parameter ‘locked_fs_kfuncs’ but no such parameter 387 | BTF_ID_LIST(locked_fs_kfuncs) | ^~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../fs/bpf_fs_kfuncs.c:383:13: error: declaration for parameter ‘not_locked_fs_kfuncs’ but no such parameter 383 | BTF_ID_LIST(not_locked_fs_kfuncs) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../fs/bpf_fs_kfuncs.c:363:15: error: declaration for parameter ‘d_inode_locked_hooks’ but no such parameter 363 | BTF_SET_START(d_inode_locked_hooks) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:69: note: in definition of macro ‘BTF_SET_START’ 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../fs/bpf_fs_kfuncs.c:418: error: expected ‘{’ at end of input ../fs/bpf_fs_kfuncs.c:337:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 337 | BTF_HIDDEN_KFUNCS_START(bpf_fs_kfunc_hidden_set_ids) | ^~~~~~~~~~~~~~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:418: error: control reaches end of non-void function [-Werror=return-type] cc1: some warnings being treated as errors make[4]: *** [../scripts/Makefile.build:194: fs/bpf_fs_kfuncs.o] Error 1 make[3]: *** [../scripts/Makefile.build:440: fs] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/core/filter.c:12071:1: error: return type defaults to ‘int’ [-Wimplicit-int] 12071 | BTF_HIDDEN_KFUNCS_START(bpf_kfunc_check_hidden_set_skb) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12071:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:28, from ../include/linux/bpf_verifier.h:7, from ../net/core/filter.c:21: ../net/core/filter.c: In function ‘BTF_HIDDEN_KFUNCS_START’: ../net/core/filter.c:12075:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_xdp’ 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_xdp’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12075:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12079:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_sock_addr’ 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_sock_addr’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12079:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12083:18: error: storage class specified for parameter ‘bpf_kfunc_check_set_tcp_reqsk’ 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_kfunc_check_set_tcp_reqsk’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12083:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12087:13: error: storage class specified for parameter ‘bpf_dynptr_from_skb_list’ 12087 | BTF_ID_LIST(bpf_dynptr_from_skb_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../net/core/filter.c:12092:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12092 | { | ^ ../net/core/filter.c:12122:38: error: storage class specified for parameter ‘bpf_kfunc_set_skb’ 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12122:21: error: parameter ‘bpf_kfunc_set_skb’ is initialized 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12125:24: error: ‘bpf_kfunc_check_hidden_set_skb’ undeclared (first use in this function); did you mean ‘bpf_kfunc_check_set_skb’? 12125 | .hidden_set = &bpf_kfunc_check_hidden_set_skb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | bpf_kfunc_check_set_skb ../net/core/filter.c:12125:24: note: each undeclared identifier is reported only once for each function it appears in ../net/core/filter.c:12126:19: error: ‘bpf_kfunc_set_skb_remap’ undeclared (first use in this function); did you mean ‘bpf_kfunc_set_skb’? 12126 | .remap = &bpf_kfunc_set_skb_remap, | ^~~~~~~~~~~~~~~~~~~~~~~ | bpf_kfunc_set_skb ../net/core/filter.c:12129:38: error: storage class specified for parameter ‘bpf_kfunc_set_xdp’ 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12129:21: error: parameter ‘bpf_kfunc_set_xdp’ is initialized 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:38: error: storage class specified for parameter ‘bpf_kfunc_set_sock_addr’ 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:21: error: parameter ‘bpf_kfunc_set_sock_addr’ is initialized 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12139:38: error: storage class specified for parameter ‘bpf_kfunc_set_tcp_reqsk’ 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12139:21: error: parameter ‘bpf_kfunc_set_tcp_reqsk’ is initialized 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12145:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12145 | { | ^ In file included from : ../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12164:1: error: parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ is initialized ../net/core/filter.c:12164:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../arch/x86/include/asm/atomic.h:5, from ../include/linux/atomic.h:7, from ../net/core/filter.c:20: ../net/core/filter.c:12164:15: error: ‘bpf_kfunc_init’ undeclared (first use in this function); did you mean ‘bpf_func_info’? 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~~ ../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/ktime.h:24, from ../include/linux/timer.h:6, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:10: ../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ 262 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/atomic/atomic-instrumented.h:15, from ../include/linux/atomic.h:82: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ 266 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12164:30: error: expected declaration specifiers before ‘;’ token 12164 | late_initcall(bpf_kfunc_init); | ^ In file included from ./../include/linux/compiler_types.h:174: ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ./../include/linux/compiler_types.h:557:25: note: in expansion of macro ‘__diag’ 557 | #define __diag_push() __diag(push) | ^~~~~~ ../include/linux/btf.h:89:9: note: in expansion of macro ‘__diag_push’ 89 | __diag_push(); \ | ^~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ../include/linux/compiler-gcc.h:143:9: note: in expansion of macro ‘__diag’ 143 | __diag(__diag_GCC_ignore option) | ^~~~~~ ../include/linux/btf.h:90:9: note: in expansion of macro ‘__diag_ignore_all’ 90 | __diag_ignore_all("-Wmissing-declarations", \ | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ../include/linux/compiler-gcc.h:143:9: note: in expansion of macro ‘__diag’ 143 | __diag(__diag_GCC_ignore option) | ^~~~~~ ../include/linux/btf.h:92:9: note: in expansion of macro ‘__diag_ignore_all’ 92 | __diag_ignore_all("-Wmissing-prototypes", \ | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12166:1: note: in expansion of macro ‘__bpf_kfunc_start_defs’ 12166 | __bpf_kfunc_start_defs(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/linux/compiler_types.h:89: ../include/linux/compiler_attributes.h:349:41: error: expected declaration specifiers before ‘__attribute__’ 349 | #define __used __attribute__((__used__)) | ^~~~~~~~~~~~~ ../include/linux/btf.h:86:21: note: in expansion of macro ‘__used’ 86 | #define __bpf_kfunc __used __retain noinline | ^~~~~~ ../net/core/filter.c:12184:1: note: in expansion of macro ‘__bpf_kfunc’ 12184 | __bpf_kfunc int bpf_sock_destroy(struct sock_common *sock) | ^~~~~~~~~~~ ../include/linux/compiler-gcc.h:134:33: error: expected declaration specifiers before ‘#pragma’ 134 | #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) | ^~~~~~~ ./../include/linux/compiler_types.h:558:25: note: in expansion of macro ‘__diag’ 558 | #define __diag_pop() __diag(pop) | ^~~~~~ ../include/linux/btf.h:95:32: note: in expansion of macro ‘__diag_pop’ 95 | #define __bpf_kfunc_end_defs() __diag_pop() | ^~~~~~~~~~ ../net/core/filter.c:12200:1: note: in expansion of macro ‘__bpf_kfunc_end_defs’ 12200 | __bpf_kfunc_end_defs(); | ^~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12202:18: error: storage class specified for parameter ‘bpf_sk_iter_kfunc_ids’ 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/btf_ids.h:235:46: error: parameter ‘bpf_sk_iter_kfunc_ids’ is initialized 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~~~~~~~~ ../net/core/filter.c:12202:1: note: in expansion of macro ‘BTF_KFUNCS_START’ 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12207 | { | ^ ../net/core/filter.c:12214:38: error: storage class specified for parameter ‘bpf_sk_iter_kfunc_set’ 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12214:21: error: parameter ‘bpf_sk_iter_kfunc_set’ is initialized 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~ ../net/core/filter.c:12217:19: error: ‘tracing_iter_filter’ undeclared (first use in this function) 12217 | .filter = tracing_iter_filter, | ^~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12221:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12221 | { | ^ ../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:1: error: parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ is initialized ../net/core/filter.c:12224:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_init_subsystem2976’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:15: error: ‘init_subsystem’ undeclared (first use in this function) 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~~ ../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ 262 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ 266 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12224:30: error: expected declaration specifiers before ‘;’ token 12224 | late_initcall(init_subsystem); | ^ ../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_init_subsystem2976’ but no such parameter 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12224:1: note: in expansion of macro ‘late_initcall’ 12224 | late_initcall(init_subsystem); | ^~~~~~~~~~~~~ ../net/core/filter.c:12214:38: error: declaration for parameter ‘bpf_sk_iter_kfunc_set’ but no such parameter 12214 | static const struct btf_kfunc_id_set bpf_sk_iter_kfunc_set = { | ^~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12202:18: error: declaration for parameter ‘bpf_sk_iter_kfunc_ids’ but no such parameter 12202 | BTF_KFUNCS_START(bpf_sk_iter_kfunc_ids) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_bpf_kfunc_init2974’ but no such parameter 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ 256 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ 261 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ 274 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ 313 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12164:1: note: in expansion of macro ‘late_initcall’ 12164 | late_initcall(bpf_kfunc_init); | ^~~~~~~~~~~~~ ../net/core/filter.c:12139:38: error: declaration for parameter ‘bpf_kfunc_set_tcp_reqsk’ but no such parameter 12139 | static const struct btf_kfunc_id_set bpf_kfunc_set_tcp_reqsk = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12134:38: error: declaration for parameter ‘bpf_kfunc_set_sock_addr’ but no such parameter 12134 | static const struct btf_kfunc_id_set bpf_kfunc_set_sock_addr = { | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12129:38: error: declaration for parameter ‘bpf_kfunc_set_xdp’ but no such parameter 12129 | static const struct btf_kfunc_id_set bpf_kfunc_set_xdp = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12122:38: error: declaration for parameter ‘bpf_kfunc_set_skb’ but no such parameter 12122 | static const struct btf_kfunc_id_set bpf_kfunc_set_skb = { | ^~~~~~~~~~~~~~~~~ ../net/core/filter.c:12087:13: error: declaration for parameter ‘bpf_dynptr_from_skb_list’ but no such parameter 12087 | BTF_ID_LIST(bpf_dynptr_from_skb_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../net/core/filter.c:12083:18: error: declaration for parameter ‘bpf_kfunc_check_set_tcp_reqsk’ but no such parameter 12083 | BTF_KFUNCS_START(bpf_kfunc_check_set_tcp_reqsk) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12079:18: error: declaration for parameter ‘bpf_kfunc_check_set_sock_addr’ but no such parameter 12079 | BTF_KFUNCS_START(bpf_kfunc_check_set_sock_addr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12075:18: error: declaration for parameter ‘bpf_kfunc_check_set_xdp’ but no such parameter 12075 | BTF_KFUNCS_START(bpf_kfunc_check_set_xdp) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:235:73: note: in definition of macro ‘BTF_KFUNCS_START’ 235 | #define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS }; | ^~~~ ../net/core/filter.c:12225: error: expected ‘{’ at end of input ../net/core/filter.c:12071:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 12071 | BTF_HIDDEN_KFUNCS_START(bpf_kfunc_check_hidden_set_skb) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/core/filter.c:12225: error: control reaches end of non-void function [-Werror=return-type] cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:194: net/core/filter.o] Error 1 make[4]: *** [../scripts/Makefile.build:440: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.4sjmI1XbwY 2024-12-19 15:35:31.882866793 -0800 +++ /tmp/tmp.OQfaenh4fB 2024-12-19 15:35:53.935641877 -0800 @@ -1,5 +0,0 @@ -../fs/bpf_fs_kfuncs.c:39:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:55:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:114:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:155:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? @@ -26,0 +22,3 @@ +../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): +../include/linux/bpfptr.h:65:40: warning: cast to non-scalar +../include/linux/bpfptr.h:65:40: warning: cast from non-scalar @@ -38,3 +36,306 @@ -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar +../fs/bpf_fs_kfuncs.c:337:1: error: return type defaults to ‘int’ [-Wimplicit-int] + 337 | BTF_HIDDEN_KFUNCS_START(bpf_fs_kfunc_hidden_set_ids) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:337:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] +../fs/bpf_fs_kfuncs.c: In function ‘BTF_HIDDEN_KFUNCS_START’: +../fs/bpf_fs_kfuncs.c:343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 343 | { + | ^ +In file included from ../include/linux/btf.h:10, + from ../include/linux/bpf.h:28, + from ../fs/bpf_fs_kfuncs.c:4: +../fs/bpf_fs_kfuncs.c:363:15: error: storage class specified for parameter ‘d_inode_locked_hooks’ + 363 | BTF_SET_START(d_inode_locked_hooks) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:69: note: in definition of macro ‘BTF_SET_START’ + 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../include/linux/btf_ids.h:230:43: error: parameter ‘d_inode_locked_hooks’ is initialized + 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:363:1: note: in expansion of macro ‘BTF_SET_START’ + 363 | BTF_SET_START(d_inode_locked_hooks) + | ^~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 379 | { + | ^ +../fs/bpf_fs_kfuncs.c:383:13: error: storage class specified for parameter ‘not_locked_fs_kfuncs’ + 383 | BTF_ID_LIST(not_locked_fs_kfuncs) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ + 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../fs/bpf_fs_kfuncs.c:387:13: error: storage class specified for parameter ‘locked_fs_kfuncs’ + 387 | BTF_ID_LIST(locked_fs_kfuncs) + | ^~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ + 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../fs/bpf_fs_kfuncs.c:392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 392 | { + | ^ +../fs/bpf_fs_kfuncs.c:404:38: error: storage class specified for parameter ‘bpf_fs_kfunc_set’ + 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { + | ^~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:404:21: error: parameter ‘bpf_fs_kfunc_set’ is initialized + 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { + | ^~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:407:24: error: ‘bpf_fs_kfunc_hidden_set_ids’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set_ids’? + 407 | .hidden_set = &bpf_fs_kfunc_hidden_set_ids, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | bpf_fs_kfunc_set_ids +../fs/bpf_fs_kfuncs.c:407:24: note: each undeclared identifier is reported only once for each function it appears in +../fs/bpf_fs_kfuncs.c:408:19: error: ‘bpf_fs_kfuncs_filter’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? + 408 | .filter = bpf_fs_kfuncs_filter, + | ^~~~~~~~~~~~~~~~~~~~ + | bpf_fs_kfunc_set +../fs/bpf_fs_kfuncs.c:409:18: error: ‘bpf_fs_kfunc_remap’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? + 409 | .remap = bpf_fs_kfunc_remap, + | ^~~~~~~~~~~~~~~~~~ + | bpf_fs_kfunc_set +../fs/bpf_fs_kfuncs.c:413:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token + 413 | { + | ^ +In file included from : +../include/linux/compiler.h:189:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ + 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ + 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ + 256 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ + 261 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: error: parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ is initialized +../fs/bpf_fs_kfuncs.c:417:1: warning: ‘used’ attribute ignored [-Wattributes] +../include/linux/compiler.h:189:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ + 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ + 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ + 256 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ + 261 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +In file included from ../include/uapi/linux/filter.h:9, + from ../include/linux/bpf.h:8: +../fs/bpf_fs_kfuncs.c:417:15: error: ‘bpf_fs_kfuncs_init’ undeclared (first use in this function); did you mean ‘bpf_fs_kfunc_set’? + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~~~~~~ +../include/linux/compiler.h:227:72: note: in definition of macro ‘___ADDRESSABLE’ + 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~ +../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ + 256 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ + 261 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +In file included from ../include/linux/printk.h:6, + from ../include/asm-generic/bug.h:22, + from ../arch/x86/include/asm/bug.h:99, + from ../include/linux/ktime.h:24, + from ../include/linux/timer.h:6, + from ../include/linux/workqueue.h:9, + from ../include/linux/bpf.h:10: +../include/linux/init.h:262:9: error: expected declaration specifiers before ‘asm’ + 262 | asm(".section \"" __sec "\", \"a\" \n" \ + | ^~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +In file included from ../include/linux/container_of.h:5, + from ../include/linux/list.h:5, + from ../include/linux/timer.h:5: +../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ + 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) + | ^~~~~~~~~~~~~~ +../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ + 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) + | ^~~~~~~~~~~~~~~ +../include/linux/init.h:266:9: note: in expansion of macro ‘static_assert’ + 266 | static_assert(__same_type(initcall_t, &fn)); + | ^~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:34: error: expected declaration specifiers before ‘;’ token + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^ +../include/linux/compiler.h:189:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_bpf_fs_kfuncs_init1562’ but no such parameter + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~~~~~~ +./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ + 83 | #define ___PASTE(a,b) a##b + | ^ +../include/linux/compiler.h:189:29: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ + 84 | #define __PASTE(a,b) ___PASTE(a,b) + | ^~~~~~~~ +../include/linux/compiler.h:189:37: note: in expansion of macro ‘__PASTE’ + 189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) + | ^~~~~~~ +../include/linux/compiler.h:227:9: note: in expansion of macro ‘__UNIQUE_ID’ + 227 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; + | ^~~~~~~~~~~ +../include/linux/compiler.h:229:9: note: in expansion of macro ‘___ADDRESSABLE’ + 229 | ___ADDRESSABLE(sym, __section(".discard.addressable")) + | ^~~~~~~~~~~~~~ +../include/linux/init.h:256:9: note: in expansion of macro ‘__ADDRESSABLE’ + 256 | __ADDRESSABLE(fn) + | ^~~~~~~~~~~~~ +../include/linux/init.h:261:9: note: in expansion of macro ‘__define_initcall_stub’ + 261 | __define_initcall_stub(__stub, fn) \ + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:274:9: note: in expansion of macro ‘____define_initcall’ + 274 | ____define_initcall(fn, \ + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/init.h:280:9: note: in expansion of macro ‘__unique_initcall’ + 280 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/init.h:282:35: note: in expansion of macro ‘___define_initcall’ + 282 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/init.h:313:41: note: in expansion of macro ‘__define_initcall’ + 313 | #define late_initcall(fn) __define_initcall(fn, 7) + | ^~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:417:1: note: in expansion of macro ‘late_initcall’ + 417 | late_initcall(bpf_fs_kfuncs_init); + | ^~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:404:38: error: declaration for parameter ‘bpf_fs_kfunc_set’ but no such parameter + 404 | static const struct btf_kfunc_id_set bpf_fs_kfunc_set = { + | ^~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:387:13: error: declaration for parameter ‘locked_fs_kfuncs’ but no such parameter + 387 | BTF_ID_LIST(locked_fs_kfuncs) + | ^~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ + 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../fs/bpf_fs_kfuncs.c:383:13: error: declaration for parameter ‘not_locked_fs_kfuncs’ but no such parameter + 383 | BTF_ID_LIST(not_locked_fs_kfuncs) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:223:53: note: in definition of macro ‘BTF_ID_LIST’ + 223 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; + | ^~~~ +../fs/bpf_fs_kfuncs.c:363:15: error: declaration for parameter ‘d_inode_locked_hooks’ but no such parameter + 363 | BTF_SET_START(d_inode_locked_hooks) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/btf_ids.h:230:69: note: in definition of macro ‘BTF_SET_START’ + 230 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; + | ^~~~ +../fs/bpf_fs_kfuncs.c:418: error: expected ‘{’ at end of input +../fs/bpf_fs_kfuncs.c:337:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 + 337 | BTF_HIDDEN_KFUNCS_START(bpf_fs_kfunc_hidden_set_ids) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../fs/bpf_fs_kfuncs.c:418: error: control reaches end of non-void function [-Werror=return-type] +cc1: some warnings being treated as errors +make[4]: *** [../scripts/Makefile.build:194: fs/bpf_fs_kfuncs.o] Error 1 +make[3]: *** [../scripts/Makefile.build:440: fs] Error 2 +make[3]: *** Waiting for unfinished jobs.... @@ -684 +984,0 @@ -make[3]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.fY4nM1SV78 2024-12-19 15:35:53.946641765 -0800 +++ /tmp/tmp.xQPgAuP888 2024-12-19 15:35:53.950641724 -0800 @@ -1 +1 @@ - 5 ../fs/bpf_fs_kfuncs.c + 24 ../fs/bpf_fs_kfuncs.c @@ -3,2 +3,2 @@ - 4 ../include/linux/btf_ids.h - 2 ../include/linux/build_bug.h + 5 ../include/linux/btf_ids.h + 3 ../include/linux/build_bug.h @@ -7,2 +7,2 @@ - 6 ../include/linux/compiler.h - 2 ../include/linux/init.h + 9 ../include/linux/compiler.h + 3 ../include/linux/init.h