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: In function ‘arena_vm_open’: ../kernel/bpf/arena.c:235:27: warning: unused variable ‘arena’ [-Wunused-variable] 235 | struct bpf_arena *arena = container_of(map, struct bpf_arena, map); | ^~~~~ ../kernel/bpf/arena.c:546:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:558: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[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/arena.c:532:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:544: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[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/arena.c: In function ‘arena_vm_open’: ../kernel/bpf/arena.c:235:27: warning: unused variable ‘arena’ [-Wunused-variable] 235 | struct bpf_arena *arena = container_of(map, struct bpf_arena, map); | ^~~~~ ../kernel/bpf/arena.c:546:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:558: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[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.2h1ZYcPFyb 2024-06-17 10:28:48.023310294 -0700 +++ /tmp/tmp.CixUX6NDOu 2024-06-17 10:29:04.730693918 -0700 @@ -9,2 +9,6 @@ -../kernel/bpf/arena.c:532:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? -../kernel/bpf/arena.c:544:18: warning: symbol 'bpf_arena_free_pages' was not declared. Should it be static? +../kernel/bpf/arena.c: In function ‘arena_vm_open’: +../kernel/bpf/arena.c:235:27: warning: unused variable ‘arena’ [-Wunused-variable] + 235 | struct bpf_arena *arena = container_of(map, struct bpf_arena, map); + | ^~~~~ +../kernel/bpf/arena.c:546:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? +../kernel/bpf/arena.c:558:18: warning: symbol 'bpf_arena_free_pages' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.ErNN68Exfz 2024-06-17 10:29:04.740694148 -0700 +++ /tmp/tmp.Aas3P8NbeO 2024-06-17 10:29:04.743694216 -0700 @@ -2 +2 @@ - 2 ../kernel/bpf/arena.c + 3 ../kernel/bpf/arena.c