In file included from ../drivers/net/dsa/microchip/ksz_spi.c:15: In file included from ../include/linux/spi/spi.h:17: In file included from ../include/linux/scatterlist.h:8: 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 ../net/bpf/test_run.c:4: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/wireless/mediatek/mt76/debugfs.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz9477_tc_flower.c:4: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/wireless/mediatek/mt76/util.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz9477_i2c.c:8: In file included from ../include/linux/i2c.h:19: In file included from ../include/linux/regulator/consumer.h:35: In file included from ../include/linux/suspend.h:5: In file included from ../include/linux/swap.h:9: In file included from ../include/linux/memcontrol.h:21: 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/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz_dcb.c:4: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz8863_smi.c:11: In file included from ../drivers/net/dsa/microchip/ksz8.h:12: In file included from ../include/net/dsa.h:11: 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: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/wireless/mediatek/mt76/pci.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/agg-rx.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/wed.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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 ../net/core/netdev_rx_queue.c:3: 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/wireless/mediatek/mt76/mmio.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mcu.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/lan937x_main.c:8: 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: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/dsa/microchip/ksz9477_acl.c:48: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/wireless/mediatek/mt76/dma.c:6: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/eeprom.c:6: In file included from ../include/linux/of_net.h:9: 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: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/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz_ptp.c:8: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/wireless/mediatek/mt76/testmode.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz8.c:20: 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/wireless/mediatek/mt76/tx.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/veth.c:12: 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/wireless/mediatek/mt76/mac80211.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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 ../net/core/xdp.c:6: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/dsa/microchip/ksz9477.c:12: 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: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/wireless/mediatek/mt76/mt76x02_eeprom.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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 ../net/core/page_pool_user.c:4: 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/wireless/mediatek/mt76/sdio.c:16: In file included from ../include/linux/mmc/host.h:19: In file included from ../include/linux/blk-crypto-profile.h:9: In file included from ../include/linux/bio.h:10: In file included from ../include/linux/blk_types.h:10: 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/wireless/mediatek/mt76/mt76x02_mcu.c:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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 ../net/core/page_pool.c:14: In file included from ../include/net/netdev_rx_queue.h:6: 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/wireless/mediatek/mt76/mt76x02_phy.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_util.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/sdio_txrx.c:13: In file included from ../include/linux/mmc/host.h:19: In file included from ../include/linux/blk-crypto-profile.h:9: In file included from ../include/linux/bio.h:10: In file included from ../include/linux/blk_types.h:10: 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/wireless/mediatek/mt76/mt76x02_mmio.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/usb.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_txrx.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_debugfs.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/dsa/microchip/ksz_common.c:9: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/wireless/mediatek/mt76/mt76x02_usb_mcu.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_beacon.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_usb_core.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_usb.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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 ../net/core/devmem.c:10: In file included from ../include/linux/dma-buf.h:19: In file included from ../include/linux/scatterlist.h:8: 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/broadcom/bnxt/bnxt_xdp.c:11: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt76x02_dfs.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76_connac3_mac.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt76x02_mac.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt792x_debugfs.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt792x_mac.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt792x_core.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/libeth/rx.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/libie/rx.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: 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/wireless/mediatek/mt76/mt76_connac_mac.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/google/gve/gve_tx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/google/gve/gve_rx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt792x_dma.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt792x_acpi_sar.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/google/gve/gve_utils.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/google/gve/gve_flow_rule.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/google/gve/gve_buffer_mgmt_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/google/gve/gve_rx.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/engleder/tsnep_main.c:18: In file included from ../drivers/net/ethernet/engleder/tsnep.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76_connac_mcu.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/google/gve/gve_ethtool.c:7: In file included from ../include/linux/rtnetlink.h:7: 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/wireless/mediatek/mt76/mt76x2/mac.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/google/gve/gve_adminq.c:7: 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: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/wireless/mediatek/mt76/mt76x0/usb.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h:17: In file included from ../include/net/mac80211.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: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/wireless/mediatek/mt76/mt792x_usb.c:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76.h:12: 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/wireless/mediatek/mt76/mt7603/soc.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt76x0/pci_mcu.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h:17: In file included from ../include/net/mac80211.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: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/google/gve/gve_main.c:7: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/wireless/mediatek/mt76/mt76x0/pci.c:8: In file included from ../include/linux/pci.h:1644: 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: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/google/gve/gve_tx_dqo.c:7: In file included from ../drivers/net/ethernet/google/gve/gve.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76x0/usb_mcu.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h:17: In file included from ../include/net/mac80211.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: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/wireless/mediatek/mt76/mt76x2/phy.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76x2/init.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7603/mcu.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt76x0/init.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h:17: In file included from ../include/net/mac80211.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: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/wireless/mediatek/mt76/mt76x2/pci.c:8: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt7603/pci.c:5: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt76x2/mcu.c:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76x2/eeprom.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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 ../net/core/skbuff.c:40: 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/wireless/mediatek/mt76/mt7615/main.c:10: 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: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/wireless/mediatek/mt76/mt7603/main.c:3: 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: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/wireless/mediatek/mt76/mt7615/eeprom.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7603/core.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt7603/init.c:3: 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: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/wireless/mediatek/mt76/mt7615/init.c:10: 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: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/wireless/mediatek/mt76/mt76x0/main.c:8: 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: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/wireless/mediatek/mt76/mt76x2/pci_main.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76x2/pci_init.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/microsoft/mana/mana_en.c:7: In file included from ../include/linux/inetdevice.h:9: In file included from ../include/linux/ip.h:16: 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/wireless/mediatek/mt76/mt76x2/pci_mcu.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7915/pci.c:9: In file included from ../include/linux/pci.h:1644: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/pci.c:11: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/ethernet/freescale/fec_main.c:29: In file included from ../include/linux/ptrace.h:10: In file included from ../include/linux/pid_namespace.h:7: 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/wireless/mediatek/mt76/mt7603/dma.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/microchip/lan966x/lan966x_fdma.c:3: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/marvell/mv643xx_eth.c:30: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/meta/fbnic/fbnic_txrx.c:6: In file included from ../include/linux/pci.h:1644: 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: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/ice/ice_txrx_lib.c:4: In file included from ../include/linux/filter.h:9: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/marvell/octeontx2/nic/otx2_common.c:9: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt76x2/pci_phy.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7615/mcu.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/init.c:4: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/init.c:9: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: 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/wireless/mediatek/mt76/mt76x0/eeprom.c:12: 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: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/wireless/mediatek/mt76/mt7921/init.c:4: 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: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/wireless/mediatek/mt76/mt7996/pci.c:8: In file included from ../include/linux/pci.h:1644: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/pci.c:10: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mac.c:3: 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: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/wireless/mediatek/mt76/mt7921/mac.c:4: In file included from ../include/linux/devcoredump.h:12: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7921/testmode.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/dma.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:4: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:55:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 55 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | MT7915_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:55:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 55 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | MT7915_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:55:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 55 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | MT7915_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:57:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA1, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | MT7915_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:57:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA1, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | MT7915_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:57:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA1, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | MT7915_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:59:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 59 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA1, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:59:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 59 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA1, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:59:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 59 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA1, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:61:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | MT7915_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:61:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | MT7915_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:61:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | MT7915_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:63:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 63 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA1, MT_INT_RX_DONE_WA_EXT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | MT7915_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:63:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 63 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA1, MT_INT_RX_DONE_WA_EXT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | MT7915_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:63:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 63 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA1, MT_INT_RX_DONE_WA_EXT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | MT7915_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:65:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 65 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA1, MT_INT_RX_DONE_WA_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:65:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 65 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA1, MT_INT_RX_DONE_WA_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:65:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 65 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA1, MT_INT_RX_DONE_WA_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | MT7915_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7916_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7916_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7916_RXQ_MCU_WM); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7916_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7916_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7916_RXQ_MCU_WA_EXT); | ~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:88:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_WED_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:88:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_WED_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:88:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_WED_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:90:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:90:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:90:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:93:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT_INT_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:93:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT_INT_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:93:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT_INT_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:97:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 97 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | MT_INT_WED_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:97:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 97 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | MT_INT_WED_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:97:5: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 97 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | MT_INT_WED_RX_DONE_BAND1_MT7916, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:100:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 100 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:100:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 100 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:100:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 100 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_WED_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:107:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 107 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:107:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 107 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:107:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 107 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | MT7916_RXQ_BAND0); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:109:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 109 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:109:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 109 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:109:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 109 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | MT7916_RXQ_MCU_WA); | ~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:111:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 111 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:111:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 111 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:111:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 111 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | MT7916_RXQ_BAND1); | ~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:113:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 113 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:45:30: note: expanded from macro 'Q_CONFIG' 45 | dev->wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:113:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 113 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:46:20: note: expanded from macro 'Q_CONFIG' 46 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:113:4: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 113 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN_MT7916, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | MT7916_RXQ_MCU_WA_MAIN); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:51:48: note: expanded from macro 'RXQ_CONFIG' 51 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:47:14: note: expanded from macro 'Q_CONFIG' 47 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:135:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 135 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | PREFETCH(0x140, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:135:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 135 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | PREFETCH(0x140, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:137:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 137 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | PREFETCH(0x180, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:137:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 137 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | PREFETCH(0x180, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:140:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 140 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | PREFETCH(0x1c0, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:140:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 140 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | PREFETCH(0x1c0, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:144:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 144 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | PREFETCH(0x1c0 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:144:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 144 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | PREFETCH(0x1c0 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:146:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 146 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | PREFETCH(0x200 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:146:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 146 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | PREFETCH(0x200 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:148:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 148 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 149 | PREFETCH(0x240 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:148:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 148 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 149 | PREFETCH(0x240 + base, 0x4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:158:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 158 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | PREFETCH(0x200 + base, 0x0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:158:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 158 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1_WA) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | PREFETCH(0x200 + base, 0x0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:160:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 160 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | PREFETCH(0x280 + base, 0x0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:692:42: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 692 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:160:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 160 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | PREFETCH(0x280 + base, 0x0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:693:7: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 693 | MT_RXQ_ID(q)* 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:299:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 299 | irq_mask = MT_INT_RX_DONE_MCU | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:727:30: note: expanded from macro 'MT_INT_RX_DONE_MCU' 727 | #define MT_INT_RX_DONE_MCU (MT_INT_RX(MT_RXQ_MCU) | \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:299:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 299 | irq_mask = MT_INT_RX_DONE_MCU | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:728:7: note: expanded from macro 'MT_INT_RX_DONE_MCU' 728 | MT_INT_RX(MT_RXQ_MCU_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:304:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 304 | irq_mask |= MT_INT_BAND0_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:730:32: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 730 | #define MT_INT_BAND0_RX_DONE (MT_INT_RX(MT_RXQ_MAIN) | \ | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:304:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 304 | irq_mask |= MT_INT_BAND0_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:731:7: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 731 | MT_INT_RX(MT_RXQ_MAIN_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:307:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 307 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:733:32: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 733 | #define MT_INT_BAND1_RX_DONE (MT_INT_RX(MT_RXQ_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:307:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 307 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:734:7: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 734 | MT_INT_RX(MT_RXQ_BAND1_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:307:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 307 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:735:7: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 735 | MT_INT_RX(MT_RXQ_MAIN_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:486:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 485 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | MT_RXQ_ID(MT_RXQ_MCU), | ^~~~~~~~~~~~~~~~~~~~~~ 487 | MT7915_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 488 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 489 | MT_RXQ_RING_BASE(MT_RXQ_MCU)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:489:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 485 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | MT_RXQ_ID(MT_RXQ_MCU), | ~~~~~~~~~~~~~~~~~~~~~~ 487 | MT7915_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 488 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 489 | MT_RXQ_RING_BASE(MT_RXQ_MCU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:500:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 500 | wa_rx_base = MT_RXQ_RING_BASE(MT_RXQ_MCU_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:501:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 501 | wa_rx_idx = MT_RXQ_ID(MT_RXQ_MCU_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:520:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 519 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | MT_RXQ_ID(MT_RXQ_MAIN), | ^~~~~~~~~~~~~~~~~~~~~~~ 521 | MT7915_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 522 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 523 | MT_RXQ_RING_BASE(MT_RXQ_MAIN)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:523:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 519 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | MT_RXQ_ID(MT_RXQ_MAIN), | ~~~~~~~~~~~~~~~~~~~~~~~ 521 | MT7915_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 522 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 523 | MT_RXQ_RING_BASE(MT_RXQ_MAIN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:530:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 530 | wa_rx_base = MT_RXQ_RING_BASE(MT_RXQ_MAIN_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:531:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 531 | wa_rx_idx = MT_RXQ_ID(MT_RXQ_MAIN_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:560:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 559 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 560 | MT_RXQ_ID(MT_RXQ_BAND1), | ^~~~~~~~~~~~~~~~~~~~~~~~ 561 | MT7915_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 562 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 563 | MT_RXQ_RING_BASE(MT_RXQ_BAND1) + hif1_ofs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:563:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 559 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 560 | MT_RXQ_ID(MT_RXQ_BAND1), | ~~~~~~~~~~~~~~~~~~~~~~~~ 561 | MT7915_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 562 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 563 | MT_RXQ_RING_BASE(MT_RXQ_BAND1) + hif1_ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:569:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 568 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 569 | MT_RXQ_ID(MT_RXQ_BAND1_WA), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 570 | MT7915_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 571 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 572 | MT_RXQ_RING_BASE(MT_RXQ_BAND1_WA) + hif1_ofs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:684:32: note: expanded from macro 'MT_RXQ_ID' 684 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:678:34: note: expanded from macro 'MT_Q_ID' 678 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/dma.c:572:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 568 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 569 | MT_RXQ_ID(MT_RXQ_BAND1_WA), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 570 | MT7915_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 571 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 572 | MT_RXQ_RING_BASE(MT_RXQ_BAND1_WA) + hif1_ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:688:41: note: expanded from macro 'MT_RXQ_RING_BASE' 688 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:679:46: note: expanded from macro 'MT_Q_BASE' 679 | #define MT_Q_BASE(q) ((dev->wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ 92 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/usb.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/../mt76x02_usb.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/../mt76x02.h:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/../mt76.h:12: 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/mellanox/mlxsw/pci.c:9: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt7915/eeprom.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c:5: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt7603/beacon.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt7921/main.c:4: 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: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/wireless/mediatek/mt76/mt7921/debugfs.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7921/pci_mac.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7615/debugfs.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7921/mcu.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7603/debugfs.c:3: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7603/../mt76.h:12: 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/wireless/mediatek/mt76/mt7921/pci.c:8: In file included from ../include/linux/pci.h:1644: 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: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_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/wireless/mediatek/mt76/mt7615/testmode.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7996/eeprom.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/hisilicon/hns3/hns3_enet.c:4: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/i40e/i40e_txrx.c:4: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:8: 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/mediatek/mtk_eth_soc.c:10: In file included from ../include/linux/of_mdio.h:12: 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: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/wireless/mediatek/mt76/mt7996/init.c:6: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:11: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:612:9: warning: arithmetic between different enumeration types ('enum mt76_band_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 612 | MT_TXQ_ID(band), | ^~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:473:33: note: expanded from macro 'MT_TXQ_ID' 473 | #define MT_TXQ_ID(q) MT_Q_ID(__TXQ(q)) | ~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:466:22: note: expanded from macro '__TXQ' 466 | #define __TXQ(q) (__RXQ(q) + __MT_RXQ_MAX) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/init.c:614:9: warning: arithmetic between different enumeration types ('enum mt76_band_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 614 | MT_TXQ_RING_BASE(band) + hif1_ofs, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:477:42: note: expanded from macro 'MT_TXQ_RING_BASE' 477 | #define MT_TXQ_RING_BASE(q) (MT_Q_BASE(__TXQ(q)) + 0x300) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:466:22: note: expanded from macro '__TXQ' 466 | #define __TXQ(q) (__RXQ(q) + __MT_RXQ_MAX) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ 8 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/sdio.c:10: In file included from ../include/linux/mmc/host.h:19: In file included from ../include/linux/blk-crypto-profile.h:9: In file included from ../include/linux/bio.h:10: In file included from ../include/linux/blk_types.h:10: 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/wireless/mediatek/mt76/mt7615/mac.c:10: In file included from ../include/linux/devcoredump.h:12: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7996/dma.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:6: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:57:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, MT7996_RXQ_MCU_WM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:57:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, MT7996_RXQ_MCU_WM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:57:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 57 | RXQ_CONFIG(MT_RXQ_MCU, WFDMA0, MT_INT_RX_DONE_WM, MT7996_RXQ_MCU_WM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:58:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 58 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, MT7996_RXQ_MCU_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:58:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 58 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, MT7996_RXQ_MCU_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:58:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 58 | RXQ_CONFIG(MT_RXQ_MCU_WA, WFDMA0, MT_INT_RX_DONE_WA, MT7996_RXQ_MCU_WA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:61:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, MT7996_RXQ_BAND0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:61:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, MT7996_RXQ_BAND0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:61:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 61 | RXQ_CONFIG(MT_RXQ_MAIN, WFDMA0, MT_INT_RX_DONE_BAND0, MT7996_RXQ_BAND0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:62:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 62 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN, MT7996_RXQ_MCU_WA_MAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:62:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 62 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN, MT7996_RXQ_MCU_WA_MAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:62:2: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 62 | RXQ_CONFIG(MT_RXQ_MAIN_WA, WFDMA0, MT_INT_RX_DONE_WA_MAIN, MT7996_RXQ_MCU_WA_MAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:66:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 66 | RXQ_CONFIG(MT_RXQ_BAND2, WFDMA0, MT_INT_RX_DONE_BAND2, MT7996_RXQ_BAND2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:66:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 66 | RXQ_CONFIG(MT_RXQ_BAND2, WFDMA0, MT_INT_RX_DONE_BAND2, MT7996_RXQ_BAND2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:66:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 66 | RXQ_CONFIG(MT_RXQ_BAND2, WFDMA0, MT_INT_RX_DONE_BAND2, MT7996_RXQ_BAND2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:67:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 67 | RXQ_CONFIG(MT_RXQ_BAND2_WA, WFDMA0, MT_INT_RX_DONE_WA_TRI, MT7996_RXQ_MCU_WA_TRI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:67:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 67 | RXQ_CONFIG(MT_RXQ_BAND2_WA, WFDMA0, MT_INT_RX_DONE_WA_TRI, MT7996_RXQ_MCU_WA_TRI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:67:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 67 | RXQ_CONFIG(MT_RXQ_BAND2_WA, WFDMA0, MT_INT_RX_DONE_WA_TRI, MT7996_RXQ_MCU_WA_TRI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:70:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 70 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, MT7996_RXQ_BAND1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:70:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 70 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, MT7996_RXQ_BAND1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:70:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 70 | RXQ_CONFIG(MT_RXQ_BAND1, WFDMA0, MT_INT_RX_DONE_BAND1, MT7996_RXQ_BAND1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:71:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 71 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT, MT7996_RXQ_MCU_WA_EXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:71:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 71 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT, MT7996_RXQ_MCU_WA_EXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:71:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 71 | RXQ_CONFIG(MT_RXQ_BAND1_WA, WFDMA0, MT_INT_RX_DONE_WA_EXT, MT7996_RXQ_MCU_WA_EXT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_RRO_BAND0, WFDMA0, MT_INT_RX_DONE_RRO_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7996_RXQ_RRO_BAND0); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_RRO_BAND0, WFDMA0, MT_INT_RX_DONE_RRO_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7996_RXQ_RRO_BAND0); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:76:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 76 | RXQ_CONFIG(MT_RXQ_RRO_BAND0, WFDMA0, MT_INT_RX_DONE_RRO_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MT7996_RXQ_RRO_BAND0); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND0, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7996_RXQ_MSDU_PG_BAND0); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND0, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7996_RXQ_MSDU_PG_BAND0); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:78:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 78 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND0, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | MT7996_RXQ_MSDU_PG_BAND0); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:80:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 80 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND0, WFDMA0, MT_INT_RX_TXFREE_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | MT7996_RXQ_TXFREE0); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:80:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 80 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND0, WFDMA0, MT_INT_RX_TXFREE_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | MT7996_RXQ_TXFREE0); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:80:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 80 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND0, WFDMA0, MT_INT_RX_TXFREE_MAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | MT7996_RXQ_TXFREE0); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:83:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 83 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND1, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | MT7996_RXQ_MSDU_PG_BAND1); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:83:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 83 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND1, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | MT7996_RXQ_MSDU_PG_BAND1); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:83:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 83 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND1, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | MT7996_RXQ_MSDU_PG_BAND1); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:86:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 86 | RXQ_CONFIG(MT_RXQ_RRO_BAND2, WFDMA0, MT_INT_RX_DONE_RRO_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | MT7996_RXQ_RRO_BAND2); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:86:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 86 | RXQ_CONFIG(MT_RXQ_RRO_BAND2, WFDMA0, MT_INT_RX_DONE_RRO_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | MT7996_RXQ_RRO_BAND2); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:86:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 86 | RXQ_CONFIG(MT_RXQ_RRO_BAND2, WFDMA0, MT_INT_RX_DONE_RRO_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | MT7996_RXQ_RRO_BAND2); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:88:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND2, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7996_RXQ_MSDU_PG_BAND2); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:88:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND2, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7996_RXQ_MSDU_PG_BAND2); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:88:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 88 | RXQ_CONFIG(MT_RXQ_MSDU_PAGE_BAND2, WFDMA0, MT_INT_RX_DONE_MSDU_PG_BAND2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | MT7996_RXQ_MSDU_PG_BAND2); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:90:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND2, WFDMA0, MT_INT_RX_TXFREE_TRI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7996_RXQ_TXFREE2); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:90:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND2, WFDMA0, MT_INT_RX_TXFREE_TRI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7996_RXQ_TXFREE2); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:90:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 90 | RXQ_CONFIG(MT_RXQ_TXFREE_BAND2, WFDMA0, MT_INT_RX_TXFREE_TRI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | MT7996_RXQ_TXFREE2); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:93:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_RRO_IND, WFDMA0, MT_INT_RX_DONE_RRO_IND, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT7996_RXQ_RRO_IND); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:47:31: note: expanded from macro 'Q_CONFIG' 47 | dev->q_wfdma_mask |= (1 << (q)); \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:93:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_RRO_IND, WFDMA0, MT_INT_RX_DONE_RRO_IND, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT7996_RXQ_RRO_IND); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:48:19: note: expanded from macro 'Q_CONFIG' 48 | dev->q_int_mask[(q)] = int; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:93:3: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 93 | RXQ_CONFIG(MT_RXQ_RRO_IND, WFDMA0, MT_INT_RX_DONE_RRO_IND, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | MT7996_RXQ_RRO_IND); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:53:48: note: expanded from macro 'RXQ_CONFIG' 53 | #define RXQ_CONFIG(q, wfdma, int, id) Q_CONFIG(__RXQ(q), (wfdma), (int), (id)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:49:13: note: expanded from macro 'Q_CONFIG' 49 | dev->q_id[(q)] = id; \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:134:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 134 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:134:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 134 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:135:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 135 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU_WA) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:135:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 135 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MCU_WA) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:136:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 136 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN_WA) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:136:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 136 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN_WA) + ofs, PREFETCH(0x2)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:141:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 141 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN) + ofs, PREFETCH(0x10)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:141:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 141 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MAIN) + ofs, PREFETCH(0x10)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:147:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 147 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_RRO_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | PREFETCH(0x10)); | ~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:147:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 147 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_RRO_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | PREFETCH(0x10)); | ~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:149:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 149 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_RRO_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | PREFETCH(0x10)); | ~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:149:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 149 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_RRO_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | PREFETCH(0x10)); | ~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:151:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 151 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:151:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 151 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:153:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 153 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:153:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 153 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND1) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:155:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 155 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:155:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 155 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_MSDU_PAGE_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:157:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 157 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_TXFREE_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:157:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 157 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_TXFREE_BAND0) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:159:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 159 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_TXFREE_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:483:43: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 483 | #define MT_RXQ_BAND1_CTRL(q) (MT_Q_BASE(__RXQ(q)) + 0x680 + \ | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:159:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 159 | mt76_wr(dev, MT_RXQ_BAND1_CTRL(MT_RXQ_TXFREE_BAND2) + ofs, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | PREFETCH(0x4)); | ~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:484:8: note: expanded from macro 'MT_RXQ_BAND1_CTRL' 484 | MT_RXQ_ID(q) * 0x4) | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1064:63: note: expanded from macro 'mt76_wr' 1064 | #define mt76_wr(dev, ...) (dev)->mt76.bus->wr(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:253:30: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 253 | irq_mask = MT_INT_MCU_CMD | MT_INT_RX_DONE_MCU | MT_INT_TX_DONE_MCU; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:519:31: note: expanded from macro 'MT_INT_RX_DONE_MCU' 519 | #define MT_INT_RX_DONE_MCU (MT_INT_RX(MT_RXQ_MCU) | \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:253:30: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 253 | irq_mask = MT_INT_MCU_CMD | MT_INT_RX_DONE_MCU | MT_INT_TX_DONE_MCU; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:520:8: note: expanded from macro 'MT_INT_RX_DONE_MCU' 520 | MT_INT_RX(MT_RXQ_MCU_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:256:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 256 | irq_mask |= MT_INT_BAND0_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:522:33: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 522 | #define MT_INT_BAND0_RX_DONE (MT_INT_RX(MT_RXQ_MAIN) | \ | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:256:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 256 | irq_mask |= MT_INT_BAND0_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:523:8: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 523 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:256:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 256 | irq_mask |= MT_INT_BAND0_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:524:8: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 524 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:259:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 259 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:526:33: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 526 | #define MT_INT_BAND1_RX_DONE (MT_INT_RX(MT_RXQ_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:259:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 259 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:527:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 527 | MT_INT_RX(MT_RXQ_BAND1_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:259:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 259 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:528:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 528 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:259:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 259 | irq_mask |= MT_INT_BAND1_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:529:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 529 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:262:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 262 | irq_mask |= MT_INT_BAND2_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:531:33: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 531 | #define MT_INT_BAND2_RX_DONE (MT_INT_RX(MT_RXQ_BAND2) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:262:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 262 | irq_mask |= MT_INT_BAND2_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:532:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 532 | MT_INT_RX(MT_RXQ_BAND2_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:262:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 262 | irq_mask |= MT_INT_BAND2_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:533:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 533 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:262:15: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 262 | irq_mask |= MT_INT_BAND2_RX_DONE; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:534:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 534 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:386:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 385 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_RRO_IND], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | MT_RXQ_ID(MT_RXQ_RRO_IND), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 388 | 0, MT_RXQ_RRO_IND_RING_BASE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:397:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 396 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 399 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 400 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:400:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 396 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND0), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 399 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 400 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:410:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 409 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 412 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:413:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 409 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 410 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 411 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 412 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:424:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 423 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND2), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 426 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND2)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:427:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 423 | ret = mt76_queue_alloc(dev, &mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | MT_RXQ_ID(MT_RXQ_MSDU_PAGE_BAND2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 426 | MT7996_RX_MSDU_PAGE_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | MT_RXQ_RING_BASE(MT_RXQ_MSDU_PAGE_BAND2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:536:31: note: expanded from macro 'MT_INT_RRO_RX_DONE' 536 | #define MT_INT_RRO_RX_DONE (MT_INT_RX(MT_RXQ_RRO_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:537:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 537 | MT_INT_RX(MT_RXQ_RRO_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:538:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 538 | MT_INT_RX(MT_RXQ_RRO_BAND2) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:539:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 539 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:540:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 540 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:432:34: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 432 | irq_mask = mdev->mmio.irqmask | MT_INT_RRO_RX_DONE | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:541:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 541 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND2)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:494:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 493 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 494 | MT_RXQ_ID(MT_RXQ_MCU), | ^~~~~~~~~~~~~~~~~~~~~~ 495 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 496 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 497 | MT_RXQ_RING_BASE(MT_RXQ_MCU)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:497:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 493 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 494 | MT_RXQ_ID(MT_RXQ_MCU), | ~~~~~~~~~~~~~~~~~~~~~~ 495 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 496 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 497 | MT_RXQ_RING_BASE(MT_RXQ_MCU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:503:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 502 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 503 | MT_RXQ_ID(MT_RXQ_MCU_WA), | ^~~~~~~~~~~~~~~~~~~~~~~~~ 504 | MT7996_RX_MCU_RING_SIZE_WA, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 505 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 506 | MT_RXQ_RING_BASE(MT_RXQ_MCU_WA)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:506:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 502 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 503 | MT_RXQ_ID(MT_RXQ_MCU_WA), | ~~~~~~~~~~~~~~~~~~~~~~~~~ 504 | MT7996_RX_MCU_RING_SIZE_WA, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 505 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 506 | MT_RXQ_RING_BASE(MT_RXQ_MCU_WA)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:517:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 516 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 517 | MT_RXQ_ID(MT_RXQ_MAIN), | ^~~~~~~~~~~~~~~~~~~~~~~ 518 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 519 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 520 | MT_RXQ_RING_BASE(MT_RXQ_MAIN)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:520:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 516 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 517 | MT_RXQ_ID(MT_RXQ_MAIN), | ~~~~~~~~~~~~~~~~~~~~~~~ 518 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 519 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 520 | MT_RXQ_RING_BASE(MT_RXQ_MAIN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:531:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 530 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 531 | MT_RXQ_ID(MT_RXQ_MAIN_WA), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 532 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 533 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 534 | MT_RXQ_RING_BASE(MT_RXQ_MAIN_WA)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:534:11: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 530 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 531 | MT_RXQ_ID(MT_RXQ_MAIN_WA), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 532 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 533 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 534 | MT_RXQ_RING_BASE(MT_RXQ_MAIN_WA)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:540:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 540 | rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND2) + hif1_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:542:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 541 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | MT_RXQ_ID(MT_RXQ_BAND2), | ^~~~~~~~~~~~~~~~~~~~~~~~ 543 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 544 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 545 | rx_base); | ~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:558:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 557 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | MT_RXQ_ID(MT_RXQ_BAND2_WA), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 560 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 561 | MT_RXQ_RING_BASE(MT_RXQ_BAND2_WA)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:561:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 557 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND2_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | MT_RXQ_ID(MT_RXQ_BAND2_WA), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 560 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 561 | MT_RXQ_RING_BASE(MT_RXQ_BAND2_WA)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:566:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 566 | rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND1) + hif1_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:568:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 567 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 568 | MT_RXQ_ID(MT_RXQ_BAND1), | ^~~~~~~~~~~~~~~~~~~~~~~~ 569 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 570 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 571 | rx_base); | ~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:576:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 576 | rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND1_WA) + hif1_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:578:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 577 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_BAND1_WA], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 578 | MT_RXQ_ID(MT_RXQ_BAND1_WA), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 579 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 580 | MT_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~ 581 | rx_base); | ~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:593:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 592 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_RRO_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | MT_RXQ_ID(MT_RXQ_RRO_BAND0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 595 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 596 | MT_RXQ_RING_BASE(MT_RXQ_RRO_BAND0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:596:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 592 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_RRO_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | MT_RXQ_ID(MT_RXQ_RRO_BAND0), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 595 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 596 | MT_RXQ_RING_BASE(MT_RXQ_RRO_BAND0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:605:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 604 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_TXFREE_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | MT_RXQ_ID(MT_RXQ_TXFREE_BAND0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 607 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 608 | MT_RXQ_RING_BASE(MT_RXQ_TXFREE_BAND0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:608:12: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 604 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_TXFREE_BAND0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | MT_RXQ_ID(MT_RXQ_TXFREE_BAND0), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 607 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 608 | MT_RXQ_RING_BASE(MT_RXQ_TXFREE_BAND0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:618:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 617 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_RRO_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | MT_RXQ_ID(MT_RXQ_RRO_BAND2), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 620 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 621 | MT_RXQ_RING_BASE(MT_RXQ_RRO_BAND2) + hif1_ofs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:621:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 617 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_RRO_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | MT_RXQ_ID(MT_RXQ_RRO_BAND2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | MT7996_RX_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~ 620 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 621 | MT_RXQ_RING_BASE(MT_RXQ_RRO_BAND2) + hif1_ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:631:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 630 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_TXFREE_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 631 | MT_RXQ_ID(MT_RXQ_TXFREE_BAND2), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 632 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 633 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 634 | MT_RXQ_RING_BASE(MT_RXQ_TXFREE_BAND2) + hif1_ofs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:474:33: note: expanded from macro 'MT_RXQ_ID' 474 | #define MT_RXQ_ID(q) MT_Q_ID(__RXQ(q)) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:468:35: note: expanded from macro 'MT_Q_ID' 468 | #define MT_Q_ID(q) (dev->q_id[(q)]) | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/dma.c:634:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 630 | ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_TXFREE_BAND2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 631 | MT_RXQ_ID(MT_RXQ_TXFREE_BAND2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 632 | MT7996_RX_MCU_RING_SIZE, | ~~~~~~~~~~~~~~~~~~~~~~~~ 633 | MT7996_RX_BUF_SIZE, | ~~~~~~~~~~~~~~~~~~~ 634 | MT_RXQ_RING_BASE(MT_RXQ_TXFREE_BAND2) + hif1_ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:1146:81: note: expanded from macro 'mt76_queue_alloc' 1146 | #define mt76_queue_alloc(dev, ...) (dev)->mt76.queue_ops->alloc(&((dev)->mt76), __VA_ARGS__) | ^~~~~~~~~~~ 126 warnings generated. In file included from ../drivers/net/vmxnet3/vmxnet3_xdp.c:9: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:31: 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: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/mellanox/mlx5/core/en/xdp.c:33: In file included from ../include/linux/bpf_trace.h:5: In file included from ../include/trace/events/xdp.h:8: 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/wireless/mediatek/mt76/mt76x2/usb_main.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7921/pci_mcu.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7925/mac.c:4: In file included from ../include/linux/devcoredump.h:12: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt76x2/usb_mcu.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/iavf/iavf_main.c:4: In file included from ../include/linux/net/intel/libie/rx.h:7: 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/wireless/mediatek/mt76/mt7925/init.c:4: 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: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/wireless/mediatek/mt76/mt76x2/usb_mac.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7925/debugfs.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:12: 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/iavf/iavf_txrx.c:5: In file included from ../include/linux/net/intel/libie/rx.h:7: 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/marvell/mvneta.c:16: 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: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 ../net/core/dev.c:80: In file included from ../include/linux/sched/isolation.h:5: In file included from ../include/linux/cpuset.h:17: 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/mellanox/mlx5/core/en_rx.c:33: In file included from ../include/linux/ip.h:16: 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/wireless/mediatek/mt76/mt7996/main.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/main.c:6: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/vmxnet3/vmxnet3_ethtool.c:28: In file included from ../drivers/net/vmxnet3/vmxnet3_int.h:31: 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: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/mellanox/mlx5/core/en_stats.c:33: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/events.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h:39: In file included from ../include/linux/if_link.h:5: In file included from ../include/uapi/linux/if_link.h:6: In file included from ../include/linux/netlink.h:7: 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/wireless/mediatek/mt76/mt76x2/usb_phy.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:10: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7925/mcu.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:12: 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/wireless/mediatek/mt76/mt76x0/phy.c:10: 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: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/wireless/mediatek/mt76/mt7921/sdio_mac.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/mediatek/airoha_eth.c:6: 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: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/wireless/mediatek/mt76/mt7996/debugfs.c:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/pci.c:10: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt7996/coredump.c:4: In file included from ../include/linux/devcoredump.h:12: In file included from ../include/linux/scatterlist.h:8: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/coredump.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/coredump.h:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/main.c:4: 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: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/wireless/mediatek/mt76/mt7615/pci_mac.c:10: 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: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/wireless/mediatek/mt76/mt7996/mmio.c:8: In file included from ../include/linux/pci.h:1644: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:11: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:350:10: warning: arithmetic between different enumeration types ('enum mt7996_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 350 | MT_RXQ_RING_BASE(MT7996_RXQ_BAND0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:365:10: warning: arithmetic between different enumeration types ('enum mt7996_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 365 | MT_RXQ_RING_BASE(MT7996_RXQ_BAND0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:369:10: warning: arithmetic between different enumeration types ('enum mt7996_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 369 | MT_RXQ_RING_BASE(MT7996_RXQ_RRO_BAND0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:372:10: warning: arithmetic between different enumeration types ('enum mt7996_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 372 | MT_RXQ_RING_BASE(MT7996_RXQ_RRO_BAND2) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:375:6: warning: arithmetic between different enumeration types ('enum mt7996_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 375 | MT_RXQ_RING_BASE(MT7996_RXQ_MSDU_PG_BAND0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:478:42: note: expanded from macro 'MT_RXQ_RING_BASE' 478 | #define MT_RXQ_RING_BASE(q) (MT_Q_BASE(__RXQ(q)) + 0x500) | ~~~~~~~~~~^~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:469:49: note: expanded from macro 'MT_Q_BASE' 469 | #define MT_Q_BASE(q) ((dev->q_wfdma_mask >> (q)) & 0x1 ? \ | ^ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:513:25: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 513 | mt7996_irq_enable(dev, MT_INT_RX(q)); | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:543:31: note: expanded from macro 'MT_INT_RX_DONE_ALL' 543 | #define MT_INT_RX_DONE_ALL (MT_INT_RX_DONE_MCU | \ | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:519:31: note: expanded from macro 'MT_INT_RX_DONE_MCU' 519 | #define MT_INT_RX_DONE_MCU (MT_INT_RX(MT_RXQ_MCU) | \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:543:31: note: expanded from macro 'MT_INT_RX_DONE_ALL' 543 | #define MT_INT_RX_DONE_ALL (MT_INT_RX_DONE_MCU | \ | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:520:8: note: expanded from macro 'MT_INT_RX_DONE_MCU' 520 | MT_INT_RX(MT_RXQ_MCU_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:544:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 544 | MT_INT_BAND0_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:522:33: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 522 | #define MT_INT_BAND0_RX_DONE (MT_INT_RX(MT_RXQ_MAIN) | \ | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:544:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 544 | MT_INT_BAND0_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:523:8: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 523 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:544:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 544 | MT_INT_BAND0_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:524:8: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 524 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:545:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 545 | MT_INT_BAND1_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:526:33: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 526 | #define MT_INT_BAND1_RX_DONE (MT_INT_RX(MT_RXQ_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:545:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 545 | MT_INT_BAND1_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:527:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 527 | MT_INT_RX(MT_RXQ_BAND1_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:545:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 545 | MT_INT_BAND1_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:528:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 528 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:545:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 545 | MT_INT_BAND1_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:529:8: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 529 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:546:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 546 | MT_INT_BAND2_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:531:33: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 531 | #define MT_INT_BAND2_RX_DONE (MT_INT_RX(MT_RXQ_BAND2) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:546:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 546 | MT_INT_BAND2_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:532:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 532 | MT_INT_RX(MT_RXQ_BAND2_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:546:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 546 | MT_INT_BAND2_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:533:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 533 | MT_INT_RX(MT_RXQ_MAIN_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:546:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 546 | MT_INT_BAND2_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:534:8: note: expanded from macro 'MT_INT_BAND2_RX_DONE' 534 | MT_INT_RX(MT_RXQ_TXFREE_BAND0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:536:31: note: expanded from macro 'MT_INT_RRO_RX_DONE' 536 | #define MT_INT_RRO_RX_DONE (MT_INT_RX(MT_RXQ_RRO_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:537:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 537 | MT_INT_RX(MT_RXQ_RRO_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:538:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 538 | MT_INT_RX(MT_RXQ_RRO_BAND2) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:539:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 539 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:540:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 540 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:554:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 554 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:547:8: note: expanded from macro 'MT_INT_RX_DONE_ALL' 547 | MT_INT_RRO_RX_DONE) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:541:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 541 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND2)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ 31 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/main.c:4: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/main.c:8: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mmio.c:7: In file included from ../include/linux/pci.h:1644: 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: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/wireless/mediatek/mt76/mt7615/pci_init.c:10: 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: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/wireless/mediatek/mt76/mt7615/usb_sdio.c:12: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7615/dma.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7925/pci_mcu.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:12: 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/wireless/mediatek/mt76/mt7925/usb.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/mmio.c:7: In file included from ../include/linux/rtnetlink.h:7: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:10: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:817:25: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 817 | mt7915_irq_enable(dev, MT_INT_RX(q)); | ^~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:737:30: note: expanded from macro 'MT_INT_RX_DONE_ALL' 737 | #define MT_INT_RX_DONE_ALL (MT_INT_RX_DONE_MCU | \ | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:727:30: note: expanded from macro 'MT_INT_RX_DONE_MCU' 727 | #define MT_INT_RX_DONE_MCU (MT_INT_RX(MT_RXQ_MCU) | \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:737:30: note: expanded from macro 'MT_INT_RX_DONE_ALL' 737 | #define MT_INT_RX_DONE_ALL (MT_INT_RX_DONE_MCU | \ | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:728:7: note: expanded from macro 'MT_INT_RX_DONE_MCU' 728 | MT_INT_RX(MT_RXQ_MCU_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:738:7: note: expanded from macro 'MT_INT_RX_DONE_ALL' 738 | MT_INT_BAND0_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:730:32: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 730 | #define MT_INT_BAND0_RX_DONE (MT_INT_RX(MT_RXQ_MAIN) | \ | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:738:7: note: expanded from macro 'MT_INT_RX_DONE_ALL' 738 | MT_INT_BAND0_RX_DONE | \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:731:7: note: expanded from macro 'MT_INT_BAND0_RX_DONE' 731 | MT_INT_RX(MT_RXQ_MAIN_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:739:7: note: expanded from macro 'MT_INT_RX_DONE_ALL' 739 | MT_INT_BAND1_RX_DONE) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:733:32: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 733 | #define MT_INT_BAND1_RX_DONE (MT_INT_RX(MT_RXQ_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:739:7: note: expanded from macro 'MT_INT_RX_DONE_ALL' 739 | MT_INT_BAND1_RX_DONE) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:734:7: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 734 | MT_INT_RX(MT_RXQ_BAND1_WA) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:852:16: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 852 | mask = intr & MT_INT_RX_DONE_ALL; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:739:7: note: expanded from macro 'MT_INT_RX_DONE_ALL' 739 | MT_INT_BAND1_RX_DONE) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:735:7: note: expanded from macro 'MT_INT_BAND1_RX_DONE' 735 | MT_INT_RX(MT_RXQ_MAIN_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:861:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 861 | if (intr & MT_INT_RX(MT_RXQ_MAIN)) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:864:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 864 | if (intr & MT_INT_RX(MT_RXQ_BAND1)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:867:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 867 | if (intr & MT_INT_RX(MT_RXQ_MCU)) | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:870:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 870 | if (intr & MT_INT_RX(MT_RXQ_MCU_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:874:14: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 874 | (intr & MT_INT_RX(MT_RXQ_MAIN_WA))) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:877:13: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 877 | if (intr & MT_INT_RX(MT_RXQ_BAND1_WA)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:724:41: note: expanded from macro 'MT_INT_RX' 724 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/regs.h:675:25: note: expanded from macro '__RXQ' 675 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ 20 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/soc.c:14: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7921/usb.c:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:12: 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/wireless/mediatek/mt76/mt7925/pci_mac.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/soc.c:12: In file included from ../include/linux/of_net.h:9: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/soc.c:15: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/testmode.c:4: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/testmode.c:4: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7925/pci.c:6: In file included from ../include/linux/pci.h:1644: 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: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/netdevsim/netdev.c:17: 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: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/wireless/mediatek/mt76/mt7996/mcu.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:8: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:6: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7996/coredump.h:7: ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7996_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h:58:41: note: expanded from macro 'MT7996_MAX_QUEUE' 58 | #define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:536:31: note: expanded from macro 'MT_INT_RRO_RX_DONE' 536 | #define MT_INT_RRO_RX_DONE (MT_INT_RX(MT_RXQ_RRO_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:537:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 537 | MT_INT_RX(MT_RXQ_RRO_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:538:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 538 | MT_INT_RX(MT_RXQ_RRO_BAND2) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:539:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 539 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND0) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:540:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 540 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/mac.c:1933:22: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 1933 | u32 wed_irq_mask = MT_INT_RRO_RX_DONE | MT_INT_TX_DONE_BAND2 | | ^~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:541:8: note: expanded from macro 'MT_INT_RRO_RX_DONE' 541 | MT_INT_RX(MT_RXQ_MSDU_PAGE_BAND2)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:516:42: note: expanded from macro 'MT_INT_RX' 516 | #define MT_INT_RX(q) (dev->q_int_mask[__RXQ(q)]) | ^~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7996/regs.h:465:26: note: expanded from macro '__RXQ' 465 | #define __RXQ(q) ((q) + __MT_MCUQ_MAX) | ~~~ ^ ~~~~~~~~~~~~~ 12 warnings generated. In file included from ../drivers/net/vmxnet3/vmxnet3_drv.c:28: In file included from ../include/net/ip6_checksum.h:27: In file included from ../include/net/ip.h:22: In file included from ../include/linux/ip.h:16: 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/wireless/mediatek/mt76/mt7915/coredump.c:4: In file included from ../include/linux/devcoredump.h:12: In file included from ../include/linux/scatterlist.h:8: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/coredump.c:8: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/coredump.h:7: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c:14: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/wireless/mediatek/mt76/mt7915/debugfs.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c:5: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/sdio.c:13: In file included from ../include/linux/mmc/host.h:19: In file included from ../include/linux/blk-crypto-profile.h:9: In file included from ../include/linux/bio.h:10: In file included from ../include/linux/blk_types.h:10: 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/wireless/mediatek/mt76/mt7615/usb.c:13: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:12: 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/broadcom/bnxt/bnxt.c:21: In file included from ../include/linux/pci.h:1644: 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: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/realtek/rtase/rtase_main.c:48: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/wireless/mediatek/mt76/mt7915/mac.c:4: 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: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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mac.c:6: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/coredump.h:7: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:5: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:9: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76_connac.h:7: In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/../mt76.h:12: 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 + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:5: ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:250:10: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 250 | u8 q_id[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:251:17: warning: arithmetic between different enumeration types ('enum mt76_rxq_id' and 'enum mt76_mcuq_id') [-Wenum-enum-conversion] 251 | u32 q_int_mask[MT7915_MAX_QUEUE]; | ^~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h:77:41: note: expanded from macro 'MT7915_MAX_QUEUE' 77 | #define MT7915_MAX_QUEUE (MT_RXQ_BAND2 + __MT_MCUQ_MAX + 2) | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ 6 warnings generated. In file included from ../drivers/net/ethernet/tehuti/tn40.c:5: 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: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/ti/cpsw_new.c:15: 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: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. ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new In file included from ../drivers/net/ethernet/ti/cpsw_priv.c:8: In file included from ../include/linux/bpf.h:21: In file included from ../include/linux/kallsyms.h:13: 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/renesas/ravb_main.c:14: In file included from ../include/linux/dma-mapping.h:8: In file included from ../include/linux/scatterlist.h:8: 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/ti/cpsw.c:17: 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: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/socionext/netsec.c:8: In file included from ../include/linux/of_mdio.h:12: 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: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/pensando/ionic/ionic_txrx.c:4: In file included from ../include/linux/ip.h:16: 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/wangxun/libwx/wx_lib.c:4: 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: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/pensando/ionic/ionic_lif.c:4: 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: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/pensando/ionic/ionic_lif.c:982:34: warning: bitwise operation between different enumeration types ('enum ionic_q_feature' and 'enum ionic_txq_feature') [-Wenum-enum-conversion] 982 | features = IONIC_Q_F_2X_CQ_DESC | IONIC_TXQ_F_HWSTAMP; | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/pensando/ionic/ionic_lif.c:1047:34: warning: bitwise operation between different enumeration types ('enum ionic_q_feature' and 'enum ionic_rxq_feature') [-Wenum-enum-conversion] 1047 | features = IONIC_Q_F_2X_CQ_DESC | IONIC_RXQ_F_HWSTAMP; | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/pensando/ionic/ionic_lif.c:1104:46: warning: bitwise operation between different enumeration types ('enum ionic_q_feature' and 'enum ionic_rxq_feature') [-Wenum-enum-conversion] 1104 | qparam.rxq_features = IONIC_Q_F_2X_CQ_DESC | IONIC_RXQ_F_HWSTAMP; | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ 7 warnings generated. In file included from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:12: 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/stmicro/stmmac/stmmac_main.c:20: In file included from ../include/linux/ip.h:16: 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/dsa/microchip/ksz9477_tc_flower.c:4: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz_dcb.c:4: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz9477_acl.c:48: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz_ptp.c:8: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz8863_smi.c:11: In file included from ../drivers/net/dsa/microchip/ksz8.h:12: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz_spi.c:15: In file included from ../include/linux/spi/spi.h:17: In file included from ../include/linux/scatterlist.h:8: 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/dsa/microchip/ksz9477_i2c.c:8: In file included from ../include/linux/i2c.h:19: In file included from ../include/linux/regulator/consumer.h:35: In file included from ../include/linux/suspend.h:5: In file included from ../include/linux/swap.h:9: In file included from ../include/linux/memcontrol.h:21: 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/dsa/microchip/ksz9477.c:12: 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: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/dsa/microchip/lan937x_main.c:8: 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: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/dsa/microchip/ksz8.c:20: 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/dsa/microchip/ksz_common.c:9: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz_dcb.c:4: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz8863_smi.c:11: In file included from ../drivers/net/dsa/microchip/ksz8.h:12: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz9477_tc_flower.c:4: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz_spi.c:15: In file included from ../include/linux/spi/spi.h:17: In file included from ../include/linux/scatterlist.h:8: 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/dsa/microchip/ksz9477_acl.c:48: In file included from ../drivers/net/dsa/microchip/ksz9477.h:11: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/lan937x_main.c:8: 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: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/dsa/microchip/ksz9477_i2c.c:8: In file included from ../include/linux/i2c.h:19: In file included from ../include/linux/regulator/consumer.h:35: In file included from ../include/linux/suspend.h:5: In file included from ../include/linux/swap.h:9: In file included from ../include/linux/memcontrol.h:21: 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/dsa/microchip/ksz_ptp.c:8: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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/dsa/microchip/ksz9477.c:12: 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: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/dsa/microchip/ksz8.c:20: 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/dsa/microchip/ksz_common.c:9: In file included from ../include/linux/dsa/ksz_common.h:10: In file included from ../include/net/dsa.h:11: 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: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.