tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../kernel/bpf/bpf_struct_ops.c:536:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/core.c:242:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2878:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * In file included from ../include/trace/trace_events.h:419, from ../include/trace/define_trace.h:102, from ../drivers/net/fjes/fjes_trace.h:365, from ../drivers/net/fjes/fjes_trace.c:13: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/trace_events.h:375: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: note: each undeclared identifier is reported only once for each function it appears in 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/trace_events.h:469: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ In file included from ../include/trace/perf.h:75, from ../include/trace/define_trace.h:103: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/perf.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/bpf_probe.h:117, from ../include/trace/define_trace.h:104: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/bpf_probe.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 make[5]: *** Waiting for unfinished jobs.... ../kernel/trace/bpf_trace.c:191:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:228:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:243:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:278:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:777:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:792:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1288:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1337:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1361:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1381:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1455:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3522:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3530:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2645:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2649: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:812:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... ../kernel/bpf/btf.c: In function ‘btf_seq_show’: ../kernel/bpf/btf.c:7376:29: warning: function ‘btf_seq_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7376 | seq_vprintf((struct seq_file *)show->target, fmt, args); | ^~~~~~~~ ../kernel/bpf/btf.c: In function ‘btf_snprintf_show’: ../kernel/bpf/btf.c:7413:9: warning: function ‘btf_snprintf_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7413 | len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); | ^~~ ../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:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2327:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2327:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2327:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3897:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4630:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5044:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7902:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11856:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11869:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11882:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11903:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12090:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1934:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1934:43: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1940:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1940:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1940:36: got unsigned long long [usertype] from ../net/core/filter.c:1940:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1940:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1940:42: got unsigned long long [usertype] to ../net/core/filter.c:1985:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1985:59: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:1991:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1991:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1991:52: got unsigned long long [usertype] from ../net/core/filter.c:1991:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1991:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1991:58: got unsigned long long [usertype] to ../net/core/filter.c:2037:28: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2037:28: expected unsigned long long ../net/core/filter.c:2037:28: got restricted __wsum ../net/core/filter.c:2059:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2059:35: expected unsigned long long ../net/core/filter.c:2059:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5815:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5815:17: expected unsigned int [usertype] spi ../net/core/filter.c:5815:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5823:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5823:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5823:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20513: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 make[2]: *** [/home/nipa/bpf/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/bpf/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/core/filter.c:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2327:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2327:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2327:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3897:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4630:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5044:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7902:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11856:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11869:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11882:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11903:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12090:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1934:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1934:43: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1940:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1940:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1940:36: got unsigned long long [usertype] from ../net/core/filter.c:1940:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1940:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1940:42: got unsigned long long [usertype] to ../net/core/filter.c:1985:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1985:59: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:1991:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1991:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1991:52: got unsigned long long [usertype] from ../net/core/filter.c:1991:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1991:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1991:58: got unsigned long long [usertype] to ../net/core/filter.c:2037:28: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2037:28: expected unsigned long long ../net/core/filter.c:2037:28: got restricted __wsum ../net/core/filter.c:2059:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2059:35: expected unsigned long long ../net/core/filter.c:2059:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5815:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5815:17: expected unsigned int [usertype] spi ../net/core/filter.c:5815:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5823:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5823:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5823:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/core.c:242:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2878:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/trace/bpf_trace.c:191:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:228:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:243:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:278:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:777:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:792:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1288:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1337:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1361:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1381:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1455:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3522:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3530:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2645:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2649: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:812:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20507: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: In function ‘btf_seq_show’: ../kernel/bpf/btf.c:7376:29: warning: function ‘btf_seq_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7376 | seq_vprintf((struct seq_file *)show->target, fmt, args); | ^~~~~~~~ ../kernel/bpf/btf.c: In function ‘btf_snprintf_show’: ../kernel/bpf/btf.c:7413:9: warning: function ‘btf_snprintf_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7413 | len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); | ^~~ ../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/bpf_struct_ops.c:536:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? In file included from ../include/trace/trace_events.h:419, from ../include/trace/define_trace.h:102, from ../drivers/net/fjes/fjes_trace.h:365, from ../drivers/net/fjes/fjes_trace.c:13: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/trace_events.h:375: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: note: each undeclared identifier is reported only once for each function it appears in 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/trace_events.h:469: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ In file included from ../include/trace/perf.h:75, from ../include/trace/define_trace.h:103: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/perf.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/bpf_probe.h:117, from ../include/trace/define_trace.h:104: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/bpf_probe.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/bpf/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/core/filter.c:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2327:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2327:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2327:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3897:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4630:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5044:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7902:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11856:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11869:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11882:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11903:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12090:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1934:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1934:43: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1940:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1940:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1940:36: got unsigned long long [usertype] from ../net/core/filter.c:1940:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1940:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1940:42: got unsigned long long [usertype] to ../net/core/filter.c:1985:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1985:59: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:1991:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1991:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1991:52: got unsigned long long [usertype] from ../net/core/filter.c:1991:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1991:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1991:58: got unsigned long long [usertype] to ../net/core/filter.c:2037:28: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2037:28: expected unsigned long long ../net/core/filter.c:2037:28: got restricted __wsum ../net/core/filter.c:2059:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2059:35: expected unsigned long long ../net/core/filter.c:2059:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5815:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5815:17: expected unsigned int [usertype] spi ../net/core/filter.c:5815:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5823:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5823:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5823:33: got restricted __be32 const [usertype] a4 ../kernel/trace/bpf_trace.c:191:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:228:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:243:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:278:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:777:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:792:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1288:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1337:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1361:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1381:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1455:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3522:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3530:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2645:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2649: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:812:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/core.c:242:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2878:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/bpf/btf.c: In function ‘btf_seq_show’: ../kernel/bpf/btf.c:7376:29: warning: function ‘btf_seq_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7376 | seq_vprintf((struct seq_file *)show->target, fmt, args); | ^~~~~~~~ ../kernel/bpf/btf.c: In function ‘btf_snprintf_show’: ../kernel/bpf/btf.c:7413:9: warning: function ‘btf_snprintf_show’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 7413 | len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); | ^~~ ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20513: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 ../kernel/bpf/bpf_struct_ops.c:536:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? In file included from ../include/trace/trace_events.h:419, from ../include/trace/define_trace.h:102, from ../drivers/net/fjes/fjes_trace.h:365, from ../drivers/net/fjes/fjes_trace.c:13: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/trace_events.h:375: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: note: each undeclared identifier is reported only once for each function it appears in 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/trace_events.h:469: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ In file included from ../include/trace/perf.h:75, from ../include/trace/define_trace.h:103: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/perf.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/bpf_probe.h:117, from ../include/trace/define_trace.h:104: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/bpf_probe.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/bpf/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2