tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4165:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4165 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5077:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4164:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4164 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4165 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5795:10: error: ‘const struct ethtool_ops’ has no member named ‘rxfh_max_context_id’; did you mean ‘rxfh_max_num_contexts’? 5795 | .rxfh_max_context_id = MVPP22_N_RSS_TABLES, | ^~~~~~~~~~~~~~~~~~~ | rxfh_max_num_contexts In file included from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:42: ../drivers/net/ethernet/marvell/mvpp2/mvpp2.h:859:41: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ changes value from ‘8’ to ‘0’ [-Woverflow] 859 | #define MVPP22_N_RSS_TABLES 8 | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5795:35: note: in expansion of macro ‘MVPP22_N_RSS_TABLES’ 5795 | .rxfh_max_context_id = MVPP22_N_RSS_TABLES, | ^~~~~~~~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/mvpp2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:409:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:418:36: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/net/ethernet/via/via-velocity.c: note: in included file: ../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness ../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr ../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs ../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state ../drivers/net/ethernet/via/via-velocity.c:91:49: got char state ../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/via/via-velocity.c:93:36: got void * ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/via/via-velocity.c:1745:34: expected unsigned long [usertype] __UNIQUE_ID_y_1683 ../drivers/net/ethernet/via/via-velocity.c:1745:34: got restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: got unsigned int [usertype] ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: ../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5794:10: error: ‘const struct ethtool_ops’ has no member named ‘rxfh_max_context_id’; did you mean ‘rxfh_max_num_contexts’? 5794 | .rxfh_max_context_id = MVPP22_N_RSS_TABLES, | ^~~~~~~~~~~~~~~~~~~ | rxfh_max_num_contexts In file included from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:42: ../drivers/net/ethernet/marvell/mvpp2/mvpp2.h:859:41: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ changes value from ‘8’ to ‘0’ [-Woverflow] 859 | #define MVPP22_N_RSS_TABLES 8 | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5794:35: note: in expansion of macro ‘MVPP22_N_RSS_TABLES’ 5794 | .rxfh_max_context_id = MVPP22_N_RSS_TABLES, | ^~~~~~~~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/mvpp2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4165:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4165 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5077:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4164:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4164 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4165 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/jme.c:958:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/jme.c:958:14: expected unsigned short [usertype] csum ../drivers/net/ethernet/jme.c:958:14: got restricted __sum16 [usertype] check make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2