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_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_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 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 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_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 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