========== build_clang - FAILED In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_ptp.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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/intel/idpf/idpf_txrx.c:2772:49: warning: bitwise operation between different enumeration types ('enum idpf_tx_desc_dtype_value' and 'enum idpf_tx_flex_ctx_desc_cmd_bits') [-Wenum-enum-conversion] 2772 | cpu_to_le16(IDPF_TX_DESC_DTYPE_FLEX_TSO_CTX | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2773 | IDPF_TX_FLEX_CTX_DESC_CMD_TSO); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/byteorder/generic.h:90:21: note: expanded from macro 'cpu_to_le16' 90 | #define cpu_to_le16 __cpu_to_le16 | ^ ../include/uapi/linux/byteorder/little_endian.h:36:51: note: expanded from macro '__cpu_to_le16' 36 | #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) | ^ 5 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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/intel/idpf/idpf_ethtool.c:1358:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | idpf_vport_cfg_lock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1358:2: note: did you mean 'idpf_vport_ctrl_lock'? ../drivers/net/ethernet/intel/idpf/idpf.h:830:20: note: 'idpf_vport_ctrl_lock' declared here 830 | static inline void idpf_vport_ctrl_lock(struct net_device *netdev) | ^ ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1376:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1376 | idpf_vport_cfg_unlock(adapter); | ^ 4 warnings and 2 errors generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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/intel/idpf/idpf_lib.c:2351:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2351 | idpf_vport_cfg_lock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2351:2: note: did you mean 'idpf_vport_ctrl_lock'? ../drivers/net/ethernet/intel/idpf/idpf.h:830:20: note: 'idpf_vport_ctrl_lock' declared here 830 | static inline void idpf_vport_ctrl_lock(struct net_device *netdev) | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2355:3: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2355 | idpf_vport_cfg_unlock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2361:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2361 | idpf_vport_cfg_unlock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2372:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2372 | idpf_vport_cfg_lock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2376:3: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2376 | idpf_vport_cfg_unlock(adapter); | ^ ../drivers/net/ethernet/intel/idpf/idpf_lib.c:2382:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2382 | idpf_vport_cfg_unlock(adapter); | ^ 4 warnings and 6 errors generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/intel/idpf/idpf_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_ptp.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:12: In file included from ../include/net/pkt_sched.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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 + | ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:4: In file included from ../include/net/libeth/rx.h:7: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:38: In file included from ../include/net/net_namespace.h:43: 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:2223: ../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:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ ../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/intel/idpf/idpf_txrx.c:2891:49: warning: bitwise operation between different enumeration types ('enum idpf_tx_desc_dtype_value' and 'enum idpf_tx_flex_ctx_desc_cmd_bits') [-Wenum-enum-conversion] 2891 | cpu_to_le16(IDPF_TX_DESC_DTYPE_FLEX_TSO_CTX | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2892 | IDPF_TX_FLEX_CTX_DESC_CMD_TSO); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/byteorder/generic.h:90:21: note: expanded from macro 'cpu_to_le16' 90 | #define cpu_to_le16 __cpu_to_le16 | ^ ../include/uapi/linux/byteorder/little_endian.h:36:51: note: expanded from macro '__cpu_to_le16' 36 | #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) | ^ 5 warnings generated. make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/intel/idpf] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/intel] 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.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1993: .] 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.QaZxrWm55K 2024-12-19 03:03:55.081101205 -0800 +++ /tmp/tmp.fzs5PV7C8D 2024-12-19 03:04:11.946931044 -0800 @@ -1 +1 @@ -In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: +In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: @@ -28 +28 @@ -In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: +In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: @@ -55 +55 @@ -In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c:4: +In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: @@ -82 +82 @@ -In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: +In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: @@ -108,2 +108,14 @@ -4 warnings generated. -In file included from ../drivers/net/ethernet/intel/idpf/idpf_ptp.c:4: +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1358:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1358 | idpf_vport_cfg_lock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1358:2: note: did you mean 'idpf_vport_ctrl_lock'? +../drivers/net/ethernet/intel/idpf/idpf.h:830:20: note: 'idpf_vport_ctrl_lock' declared here + 830 | static inline void idpf_vport_ctrl_lock(struct net_device *netdev) + | ^ +../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:1376:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1376 | idpf_vport_cfg_unlock(adapter); + | ^ +4 warnings and 2 errors generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: @@ -135,2 +147,25 @@ -4 warnings generated. -In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2351:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2351 | idpf_vport_cfg_lock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2351:2: note: did you mean 'idpf_vport_ctrl_lock'? +../drivers/net/ethernet/intel/idpf/idpf.h:830:20: note: 'idpf_vport_ctrl_lock' declared here + 830 | static inline void idpf_vport_ctrl_lock(struct net_device *netdev) + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2355:3: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2355 | idpf_vport_cfg_unlock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2361:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2361 | idpf_vport_cfg_unlock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2372:2: error: call to undeclared function 'idpf_vport_cfg_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2372 | idpf_vport_cfg_lock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2376:3: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2376 | idpf_vport_cfg_unlock(adapter); + | ^ +../drivers/net/ethernet/intel/idpf/idpf_lib.c:2382:2: error: call to undeclared function 'idpf_vport_cfg_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2382 | idpf_vport_cfg_unlock(adapter); + | ^ +4 warnings and 6 errors generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/intel/idpf/idpf_lib.o] Error 1 +In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c:4: @@ -163 +198 @@ -In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: +In file included from ../drivers/net/ethernet/intel/idpf/idpf_ptp.c:4: @@ -267,2 +302,2 @@ -../drivers/net/ethernet/intel/idpf/idpf_txrx.c:2772:49: warning: bitwise operation between different enumeration types ('enum idpf_tx_desc_dtype_value' and 'enum idpf_tx_flex_ctx_desc_cmd_bits') [-Wenum-enum-conversion] - 2772 | cpu_to_le16(IDPF_TX_DESC_DTYPE_FLEX_TSO_CTX | +../drivers/net/ethernet/intel/idpf/idpf_txrx.c:2891:49: warning: bitwise operation between different enumeration types ('enum idpf_tx_desc_dtype_value' and 'enum idpf_tx_flex_ctx_desc_cmd_bits') [-Wenum-enum-conversion] + 2891 | cpu_to_le16(IDPF_TX_DESC_DTYPE_FLEX_TSO_CTX | @@ -270 +305 @@ - 2773 | IDPF_TX_FLEX_CTX_DESC_CMD_TSO); + 2892 | IDPF_TX_FLEX_CTX_DESC_CMD_TSO); @@ -278,0 +314,9 @@ +make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/intel/idpf] Error 2 +make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/intel] 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.... +make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1993: .] 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.ZfM2lv50Rb 2024-12-19 03:04:11.955930953 -0800 +++ /tmp/tmp.ejti1rthe5 2024-12-19 03:04:11.958930923 -0800 @@ -0,0 +1,2 @@ + 2 ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c + 6 ../drivers/net/ethernet/intel/idpf/idpf_lib.c