========== build_clang - FAILED In file included from ../drivers/net/dsa/sja1105/sja1105_mdio.c:4: In file included from ../include/linux/pcs/pcs-xpcs.h:12: In file included from ../include/linux/mdio.h:9: In file included from ../include/uapi/linux/mdio.h:15: In file included from ../include/linux/mii.h:13: In file included from ../include/linux/linkmode.h:5: In file included from ../include/linux/ethtool.h:18: In file included from ../include/linux/if_ether.h:19: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/sja1105/sja1105_mdio.c:464:31: error: expected ';' at end of declaration 464 | struct device_node *mdio_node _free(device_node) = | ^ | ; 3 warnings and 1 error generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/dsa/sja1105/sja1105_mdio.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/dsa/sja1105] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/dsa] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mediatek/mtk_star_emac.c:12: 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[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../drivers/net/dsa/sja1105/sja1105_mdio.c:4: In file included from ../include/linux/pcs/pcs-xpcs.h:12: In file included from ../include/linux/mdio.h:9: In file included from ../include/uapi/linux/mdio.h:15: In file included from ../include/linux/mii.h:13: In file included from ../include/linux/linkmode.h:5: In file included from ../include/linux/ethtool.h:18: In file included from ../include/linux/if_ether.h:19: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: 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. drivers/net/dsa/sja1105/sja1105.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 In file included from ../drivers/net/dsa/sja1105/sja1105_mdio.c:4: In file included from ../include/linux/pcs/pcs-xpcs.h:12: In file included from ../include/linux/mdio.h:9: In file included from ../include/uapi/linux/mdio.h:15: In file included from ../include/linux/mii.h:13: In file included from ../include/linux/linkmode.h:5: In file included from ../include/linux/ethtool.h:18: In file included from ../include/linux/if_ether.h:19: In file included from ../include/linux/skbuff.h:17: In file included from ../include/linux/bvec.h:10: In file included from ../include/linux/highmem.h:8: In file included from ../include/linux/cacheflush.h:5: In file included from ../arch/x86/include/asm/cacheflush.h:5: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/sja1105/sja1105_mdio.c:464:31: error: expected ';' at end of declaration 464 | struct device_node *mdio_node _free(device_node) = | ^ | ; 3 warnings and 1 error generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/dsa/sja1105/sja1105_mdio.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/dsa/sja1105] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/dsa] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.cR6pKDtSbx 2025-02-01 08:59:19.192697890 -0800 +++ /tmp/tmp.VRkHqFfSLN 2025-02-01 08:59:35.818520014 -0800 @@ -27,2 +27,15 @@ -3 warnings generated. -drivers/net/dsa/sja1105/sja1105.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 +../drivers/net/dsa/sja1105/sja1105_mdio.c:464:31: error: expected ';' at end of declaration + 464 | struct device_node *mdio_node _free(device_node) = + | ^ + | ; +3 warnings and 1 error generated. +make[7]: *** [../scripts/Makefile.build:194: drivers/net/dsa/sja1105/sja1105_mdio.o] Error 1 +make[6]: *** [../scripts/Makefile.build:440: drivers/net/dsa/sja1105] Error 2 +make[5]: *** [../scripts/Makefile.build:440: drivers/net/dsa] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1994: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.uWuYWEHcQW 2025-02-01 08:59:35.824519950 -0800 +++ /tmp/tmp.fzPy0xdVMF 2025-02-01 08:59:35.828519907 -0800 @@ -0,0 +1 @@ + 1 ../drivers/net/dsa/sja1105/sja1105_mdio.c