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/arena.c:544:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:556:18: warning: symbol 'bpf_arena_free_pages' 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.... ../kernel/bpf/verifier.c: In function ‘adjust_jmp_off’: ../kernel/bpf/verifier.c:18753:13: warning: unused variable ‘ret’ [-Wunused-variable] 18753 | int ret = 0; | ^~~ ../kernel/bpf/verifier.c:18752:35: warning: unused variable ‘idx’ [-Wunused-variable] 18752 | u32 insn_cnt = prog->len, idx, i; | ^~~ ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20560: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 ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20516: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 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[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 ../kernel/bpf/verifier.c: In function ‘adjust_jmp_off’: ../kernel/bpf/verifier.c:18753:13: warning: unused variable ‘ret’ [-Wunused-variable] 18753 | int ret = 0; | ^~~ ../kernel/bpf/verifier.c:18752:35: warning: unused variable ‘idx’ [-Wunused-variable] 18752 | u32 insn_cnt = prog->len, idx, i; | ^~~ ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20560: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 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[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 New errors added --- /tmp/tmp.hoSeKQWqQr 2024-06-18 11:51:34.387876753 -0700 +++ /tmp/tmp.sTDR9vdL11 2024-06-18 11:51:59.875442890 -0700 @@ -8,0 +9,7 @@ +../kernel/bpf/verifier.c: In function ‘adjust_jmp_off’: +../kernel/bpf/verifier.c:18753:13: warning: unused variable ‘ret’ [-Wunused-variable] +18753 | int ret = 0; + | ^~~ +../kernel/bpf/verifier.c:18752:35: warning: unused variable ‘idx’ [-Wunused-variable] +18752 | u32 insn_cnt = prog->len, idx, i; + | ^~~ @@ -10 +17 @@ -../kernel/bpf/verifier.c:20516:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:20560:38: error: subtraction of functions? Share your drugs Per-file breakdown --- /tmp/tmp.PvQu35Obnp 2024-06-18 11:51:59.893443290 -0700 +++ /tmp/tmp.hd0NeRtn2q 2024-06-18 11:51:59.900443446 -0700 @@ -3 +3 @@ - 2 ../kernel/bpf/verifier.c + 4 ../kernel/bpf/verifier.c