In file included from ../drivers/net/ethernet/ti/icssm/icssm_prueth.c:9: In file included from ../include/linux/etherdevice.h:20: 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/ethernet/ti/icssm/icssm_prueth.c:2100:8: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2100 | ret = pruss_cfg_ocp_master_ports(prueth->pruss, 1); | ^ 3 warnings and 1 error generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/ti/icssm/icssm_prueth.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/ti] 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/ti/icssm/icssm_prueth.c:9: In file included from ../include/linux/etherdevice.h:20: 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/ethernet/ti/icssm/icssm_prueth.c:2100:8: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2100 | ret = pruss_cfg_ocp_master_ports(prueth->pruss, 1); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth.c:2351:2: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2351 | pruss_cfg_ocp_master_ports(prueth->pruss, 0); | ^ ../drivers/net/ethernet/ti/icssm/icssm_prueth.c:2362:2: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2362 | pruss_cfg_ocp_master_ports(prueth->pruss, 1); | ^ 3 warnings and 3 errors generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/ti/icssm/icssm_prueth.o] Error 1 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/ti] 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.oORUkSsB90 2025-01-10 00:40:16.678393782 -0800 +++ /tmp/tmp.qQB6tuiMT2 2025-01-10 00:40:42.030129310 -0800 @@ -25 +25,7 @@ -3 warnings and 1 error generated. +../drivers/net/ethernet/ti/icssm/icssm_prueth.c:2351:2: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2351 | pruss_cfg_ocp_master_ports(prueth->pruss, 0); + | ^ +../drivers/net/ethernet/ti/icssm/icssm_prueth.c:2362:2: error: call to undeclared function 'pruss_cfg_ocp_master_ports'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2362 | pruss_cfg_ocp_master_ports(prueth->pruss, 1); + | ^ +3 warnings and 3 errors generated. Per-file breakdown --- /tmp/tmp.yirjkUCXCA 2025-01-10 00:40:42.038129227 -0800 +++ /tmp/tmp.M9smqWAAiu 2025-01-10 00:40:42.040129206 -0800 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/ti/icssm/icssm_prueth.c + 3 ../drivers/net/ethernet/ti/icssm/icssm_prueth.c