========== build_clang - FAILED In file included from ../drivers/net/ethernet/actions/owl-emac.c:11: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/actions/owl-emac.c:1326:22: error: redefinition of 'mdio_node' 1326 | struct device_node *mdio_node _free(device_node) = | ^ ../drivers/net/ethernet/actions/owl-emac.c:1325:22: note: previous definition is here 1325 | struct device_node *mdio_node; | ^ ../drivers/net/ethernet/actions/owl-emac.c:1326:31: error: expected ';' at end of declaration 1326 | struct device_node *mdio_node _free(device_node) = | ^ | ; 3 warnings and 2 errors generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/actions/owl-emac.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/actions] Error 2 make[6]: *** Waiting for unfinished jobs.... 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. make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... drivers/net/dsa/sja1105/sja1105.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 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/ethernet/actions/owl-emac.c:11: 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. In file included from ../drivers/net/ethernet/actions/owl-emac.c:11: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/actions/owl-emac.c:1326:22: error: redefinition of 'mdio_node' 1326 | struct device_node *mdio_node _free(device_node) = | ^ ../drivers/net/ethernet/actions/owl-emac.c:1325:22: note: previous definition is here 1325 | struct device_node *mdio_node; | ^ ../drivers/net/ethernet/actions/owl-emac.c:1326:31: error: expected ';' at end of declaration 1326 | struct device_node *mdio_node _free(device_node) = | ^ | ; 3 warnings and 2 errors generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/actions/owl-emac.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/actions] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 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.aGhq13lEha 2025-02-01 09:23:15.252301742 -0800 +++ /tmp/tmp.jUw1JVLeqR 2025-02-01 09:23:31.845123850 -0800 @@ -17 +17,21 @@ -3 warnings generated. +../drivers/net/ethernet/actions/owl-emac.c:1326:22: error: redefinition of 'mdio_node' + 1326 | struct device_node *mdio_node _free(device_node) = + | ^ +../drivers/net/ethernet/actions/owl-emac.c:1325:22: note: previous definition is here + 1325 | struct device_node *mdio_node; + | ^ +../drivers/net/ethernet/actions/owl-emac.c:1326:31: error: expected ';' at end of declaration + 1326 | struct device_node *mdio_node _free(device_node) = + | ^ + | ; +3 warnings and 2 errors generated. +make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/actions/owl-emac.o] Error 1 +make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/actions] Error 2 +make[6]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 +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.3xmd9FWYkt 2025-02-01 09:23:31.851123786 -0800 +++ /tmp/tmp.DZAf0aCipR 2025-02-01 09:23:31.855123743 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/actions/owl-emac.c