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 ../drivers/net/ipvlan/ipvlan_core.c:52:36: warning: incorrect type in argument 1 (different base types) ../drivers/net/ipvlan/ipvlan_core.c:52:36: expected unsigned int [usertype] a ../drivers/net/ipvlan/ipvlan_core.c:52:36: got restricted __be32 const [usertype] s_addr ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 In file included from ../include/trace/trace_events.h:419, from ../include/trace/define_trace.h:102, from ../drivers/net/fjes/fjes_trace.h:365, from ../drivers/net/fjes/fjes_trace.c:13: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/trace_events.h:375: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: note: each undeclared identifier is reported only once for each function it appears in 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘trace_event_raw_event_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 402 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/trace_events.h:469: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ In file included from ../include/trace/perf.h:75, from ../include/trace/define_trace.h:103: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/perf.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_request_info_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:88:17: error: ‘__assign_str’ undeclared (first use in this function) 88 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:81:1: note: in expansion of macro ‘TRACE_EVENT’ 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:87:9: note: in expansion of macro ‘TP_fast_assign’ 87 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_register_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:148:17: error: ‘__assign_str’ undeclared (first use in this function) 148 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:141:1: note: in expansion of macro ‘TRACE_EVENT’ 141 | TRACE_EVENT(fjes_hw_register_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:147:9: note: in expansion of macro ‘TP_fast_assign’ 147 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_unregister_buff_addr_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:192:17: error: ‘__assign_str’ undeclared (first use in this function) 192 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:185:1: note: in expansion of macro ‘TRACE_EVENT’ 185 | TRACE_EVENT(fjes_hw_unregister_buff_addr_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:191:9: note: in expansion of macro ‘TP_fast_assign’ 191 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_start_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:235:17: error: ‘__assign_str’ undeclared (first use in this function) 235 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:228:1: note: in expansion of macro ‘TRACE_EVENT’ 228 | TRACE_EVENT(fjes_hw_start_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:234:9: note: in expansion of macro ‘TP_fast_assign’ 234 | TP_fast_assign( | ^~~~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h: In function ‘perf_trace_fjes_hw_stop_debug_err’: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:261:17: error: ‘__assign_str’ undeclared (first use in this function) 261 | __assign_str(err, err); | ^~~~~~~~~~~~ ../include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ 51 | { assign; } \ | ^~~~~~ ../include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(assign), \ | ^~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:254:1: note: in expansion of macro ‘TRACE_EVENT’ 254 | TRACE_EVENT(fjes_hw_stop_debug_err, | ^~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:260:9: note: in expansion of macro ‘TP_fast_assign’ 260 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ../include/trace/bpf_probe.h:117, from ../include/trace/define_trace.h:104: ../include/trace/../../../drivers/net/fjes/fjes_trace.h: At top level: ../include/trace/../../../drivers/net/fjes/fjes_trace.h:91:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 91 | ); | ^~ In file included from ../include/trace/bpf_probe.h:7: ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:151:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 151 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:195:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 195 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:238:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 238 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ ../include/trace/../../../drivers/net/fjes/fjes_trace.h:264:1: error: macro "__assign_str" passed 2 arguments, but takes just 1 264 | ); | ^~ ../include/trace/stages/stage6_event_callback.h:34:9: note: macro "__assign_str" defined here 34 | #define __assign_str(dst) \ | ^~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function ‘mtk_init_fq_dma’: ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1166:36: warning: unused variable ‘addr’ [-Wunused-variable] 1166 | dma_addr_t addr = dma_addr + i * MTK_QDMA_PAGE_SIZE; | ^~~~ ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2925:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: got int make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net/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 ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2917:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: got int 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/net/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net/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 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function ‘mtk_init_fq_dma’: ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1166:36: warning: unused variable ‘addr’ [-Wunused-variable] 1166 | dma_addr_t addr = dma_addr + i * MTK_QDMA_PAGE_SIZE; | ^~~~ ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2925:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: got int 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/net/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 New errors added --- /tmp/tmp.wO82EDfb7a 2024-05-26 10:34:01.937489884 -0700 +++ /tmp/tmp.U4TbcTLAwV 2024-05-26 10:34:12.943723533 -0700 @@ -8,0 +9,4 @@ +../drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function ‘mtk_init_fq_dma’: +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1166:36: warning: unused variable ‘addr’ [-Wunused-variable] + 1166 | dma_addr_t addr = dma_addr + i * MTK_QDMA_PAGE_SIZE; + | ^~~~ @@ -12,19 +16,19 @@ -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: expected restricted __sum16 [usertype] check -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1622:45: got restricted __be16 [usertype] -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: warning: incorrect type in argument 2 (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: expected unsigned int [usertype] val -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2872:22: got restricted __be32 [usertype] ip -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2917:40: warning: cast from restricted __be32 -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: expected restricted __be32 [usertype] ip4dst -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2977:38: got unsigned int [usertype] -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: expected restricted __be32 [usertype] ip4src -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2981:38: got unsigned int -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: expected restricted __be16 [usertype] psrc -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2983:36: got int -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: expected restricted __be16 [usertype] pdst -../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:36: got int +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: expected restricted __sum16 [usertype] check +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1629:45: got restricted __be16 [usertype] +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: warning: incorrect type in argument 2 (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: expected unsigned int [usertype] val +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2880:22: got restricted __be32 [usertype] ip +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2925:40: warning: cast from restricted __be32 +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: expected restricted __be32 [usertype] ip4dst +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2985:38: got unsigned int [usertype] +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: expected restricted __be32 [usertype] ip4src +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2989:38: got unsigned int +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: expected restricted __be16 [usertype] psrc +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2991:36: got int +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: expected restricted __be16 [usertype] pdst +../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2993:36: got int Per-file breakdown --- /tmp/tmp.y7sigOBE5A 2024-05-26 10:34:12.951723703 -0700 +++ /tmp/tmp.4YkQiTpGuY 2024-05-26 10:34:12.955723787 -0700 @@ -1 +1 @@ - 7 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c + 8 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c