In file included from ../drivers/net/phy/marvell-88x2222.c:11: In file included from ../include/linux/phy.h:16: 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. In file included from ../drivers/net/phy/marvell-88x2222.c:11: In file included from ../include/linux/phy.h:16: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/marvell-88x2222.c:523:34: warning: unused variable 'mv2222_port_ops' [-Wunused-const-variable] 523 | static const struct phy_port_ops mv2222_port_ops = { | ^~~~~~~~~~~~~~~ 4 warnings generated. New errors added --- /tmp/tmp.8mRPqbjJvX 2025-02-07 18:18:20.892232270 -0800 +++ /tmp/tmp.tOLRgo4ZNh 2025-02-07 18:19:25.691534293 -0800 @@ -23 +23,4 @@ -3 warnings generated. +../drivers/net/phy/marvell-88x2222.c:523:34: warning: unused variable 'mv2222_port_ops' [-Wunused-const-variable] + 523 | static const struct phy_port_ops mv2222_port_ops = { + | ^~~~~~~~~~~~~~~ +4 warnings generated. Per-file breakdown --- /tmp/tmp.rsqPuOSFUj 2025-02-07 18:19:25.698534218 -0800 +++ /tmp/tmp.iEaW8skFuD 2025-02-07 18:19:25.702534174 -0800 @@ -0,0 +1 @@ + 1 ../drivers/net/phy/marvell-88x2222.c