========== build_clang - FAILED In file included from ../drivers/net/ethernet/microsoft/mana/gdma_main.c:6: In file included from ../include/linux/pci.h:1658: In file included from ../include/linux/dmapool.h:14: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ :2:96: error: expected string 2 | .section ".export_symbol","a" ; __export_symbol_mana_gd_wq_ring_doorbell: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_wq_ring_doorbell ; .previous | ^ :3:87: error: expected string 3 | .section ".export_symbol","a" ; __export_symbol_mana_gd_ring_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_ring_cq ; .previous | ^ :6:97: error: expected string 6 | .section ".export_symbol","a" ; __export_symbol_mana_gd_create_mana_wq_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_create_mana_wq_cq ; .previous | ^ :10:97: error: expected string 10 | .section ".export_symbol","a" ; __export_symbol_mana_gd_post_work_request: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_post_work_request ; .previous | ^ :11:87: error: expected string 11 | .section ".export_symbol","a" ; __export_symbol_mana_gd_poll_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_poll_cq ; .previous | ^ 3 warnings and 5 errors generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/microsoft/mana/gdma_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microsoft/mana] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microsoft] Error 2 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.... In file included from ../drivers/infiniband/hw/mana/main.c:6: In file included from ../drivers/infiniband/hw/mana/mana_ib.h:9: In file included from ../include/rdma/ib_verbs.h:15: 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[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../drivers/net/ethernet/microsoft/mana/gdma_main.c:6: In file included from ../include/linux/pci.h:1658: In file included from ../include/linux/dmapool.h:14: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ :2:96: error: expected string 2 | .section ".export_symbol","a" ; __export_symbol_mana_gd_wq_ring_doorbell: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_wq_ring_doorbell ; .previous | ^ :3:87: error: expected string 3 | .section ".export_symbol","a" ; __export_symbol_mana_gd_ring_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_ring_cq ; .previous | ^ :6:97: error: expected string 6 | .section ".export_symbol","a" ; __export_symbol_mana_gd_create_mana_wq_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_create_mana_wq_cq ; .previous | ^ :10:97: error: expected string 10 | .section ".export_symbol","a" ; __export_symbol_mana_gd_post_work_request: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_post_work_request ; .previous | ^ :11:87: error: expected string 11 | .section ".export_symbol","a" ; __export_symbol_mana_gd_poll_cq: ; .asciz "" ; .asciz NET_MANA ; .balign 8 ; .quad mana_gd_poll_cq ; .previous | ^ 3 warnings and 5 errors generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/microsoft/mana/gdma_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microsoft/mana] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microsoft] Error 2 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.... In file included from ../drivers/infiniband/hw/mana/main.c:6: In file included from ../drivers/infiniband/hw/mana/mana_ib.h:9: In file included from ../include/rdma/ib_verbs.h:15: 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[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2