========== build_clang - FAILED In file included from ../net/ipv4/udp.c:77: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv4/udp.c:2187:25: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' 2187 | udp_sk(sk)->udp_lrpa_hash); | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2189:16: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' 2189 | udp_sk(sk)->udp_lrpa_hash = newhash4; | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2194:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' 2194 | hlist_nulls_del_init_rcu(&udp_sk(sk)->udp_lrpa_node); | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2199:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' 2199 | hlist_nulls_add_head_rcu(&udp_sk(sk)->udp_lrpa_node, | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:3819:27: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion] 3819 | PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED }, | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ 4 warnings and 4 errors generated. make[5]: *** [../scripts/Makefile.build:194: net/ipv4/udp.o] Error 1 make[4]: *** [../scripts/Makefile.build:440: net/ipv4] Error 2 make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/realtek/rtase/rtase_main.c:48: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. make[2]: *** [/home/nipa/net/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../net/ipv4/udp.c:77: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv4/udp.c:3820:27: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion] 3820 | PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED }, | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ 4 warnings generated. vmlinux.o: warning: objtool: __static_call_update_early+0x4c: call to serialize() leaves .noinstr.text section WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o In file included from ../net/ipv4/udp.c:77: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: In file included from ../include/linux/mm.h:2224: ../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ ../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv4/udp.c:2187:25: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' 2187 | udp_sk(sk)->udp_lrpa_hash); | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2189:16: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' 2189 | udp_sk(sk)->udp_lrpa_hash = newhash4; | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2194:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' 2194 | hlist_nulls_del_init_rcu(&udp_sk(sk)->udp_lrpa_node); | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:2199:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' 2199 | hlist_nulls_add_head_rcu(&udp_sk(sk)->udp_lrpa_node, | ~~~~~~~~~~ ^ ../net/ipv4/udp.c:3819:27: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion] 3819 | PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED }, | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ 4 warnings and 4 errors generated. make[5]: *** [../scripts/Makefile.build:194: net/ipv4/udp.o] Error 1 make[4]: *** [../scripts/Makefile.build:440: net/ipv4] Error 2 make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.NUVYbZfnWt 2025-01-08 03:50:41.553245454 -0800 +++ /tmp/tmp.TjfYQZ2NbJ 2025-01-08 03:50:58.788061081 -0800 @@ -18,2 +18,14 @@ -../net/ipv4/udp.c:3820:27: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion] - 3820 | PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED }, +../net/ipv4/udp.c:2187:25: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' + 2187 | udp_sk(sk)->udp_lrpa_hash); + | ~~~~~~~~~~ ^ +../net/ipv4/udp.c:2189:16: error: no member named 'udp_lrpa_hash' in 'struct udp_sock' + 2189 | udp_sk(sk)->udp_lrpa_hash = newhash4; + | ~~~~~~~~~~ ^ +../net/ipv4/udp.c:2194:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' + 2194 | hlist_nulls_del_init_rcu(&udp_sk(sk)->udp_lrpa_node); + | ~~~~~~~~~~ ^ +../net/ipv4/udp.c:2199:43: error: no member named 'udp_lrpa_node' in 'struct udp_sock' + 2199 | hlist_nulls_add_head_rcu(&udp_sk(sk)->udp_lrpa_node, + | ~~~~~~~~~~ ^ +../net/ipv4/udp.c:3819:27: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion] + 3819 | PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED }, @@ -21,3 +33,8 @@ -4 warnings generated. -vmlinux.o: warning: objtool: __static_call_update_early+0x4c: call to serialize() leaves .noinstr.text section -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o +4 warnings and 4 errors generated. +make[5]: *** [../scripts/Makefile.build:194: net/ipv4/udp.o] Error 1 +make[4]: *** [../scripts/Makefile.build:440: net/ipv4] Error 2 +make[3]: *** [../scripts/Makefile.build:440: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net/wt-0/Makefile:1989: .] Error 2 +make[1]: *** [/home/nipa/net/wt-0/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.qf7xz7jGEL 2025-01-08 03:50:58.795061006 -0800 +++ /tmp/tmp.8AsVGjiqS3 2025-01-08 03:50:58.797060985 -0800 @@ -1 +1 @@ - 1 ../net/ipv4/udp.c + 5 ../net/ipv4/udp.c