../net/core/dev.c:3599:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3599:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3599:23: got unsigned int ../net/core/dev.c:3599:23: warning: cast from restricted __wsum ../net/core/dev.c:5565:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4054:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5523:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/bonding/bond_options.c:1233:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1233:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1233:24: got unsigned long long const [usertype] value ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: warning: incorrect type in argument 2 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: expected void *filter_cookie ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: expected struct net_device *dev ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: got struct net_device *ndev ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../arch/x86/boot/compressed/cmdline.c: note: in included file: ../arch/x86/boot/compressed/../cmdline.c:28:5: warning: symbol '__cmdline_find_option' was not declared. Should it be static? ../arch/x86/boot/compressed/../cmdline.c:100:5: warning: symbol '__cmdline_find_option_bool' was not declared. Should it be static? ../arch/x86/boot/compressed/cmdline.c:17:15: warning: symbol 'get_cmd_line_ptr' was not declared. Should it be static? ../arch/x86/boot/compressed/idt_64.c:31:6: warning: symbol 'load_stage1_idt' was not declared. Should it be static? ../arch/x86/boot/compressed/idt_64.c:59:6: warning: symbol 'load_stage2_idt' was not declared. Should it be static? ../arch/x86/boot/compressed/ident_map_64.c:110:6: warning: symbol 'initialize_identity_maps' was not declared. Should it be static? ../arch/x86/boot/compressed/ident_map_64.c:361:6: warning: symbol 'do_boot_page_fault' was not declared. Should it be static? ../arch/x86/boot/compressed/ident_map_64.c:390:6: warning: symbol 'do_boot_nmi_trap' was not declared. Should it be static? ../arch/x86/boot/compressed/ident_map_64.c:146:23: warning: memset with byte count of 106496 ../arch/x86/boot/compressed/ident_map_64.c:150:23: warning: memset with byte count of 131072 ../arch/x86/boot/compressed/pgtable_64.c:105:17: warning: symbol 'configure_5level_paging' was not declared. Should it be static? ../arch/x86/boot/compressed/mem.c:35:6: warning: symbol 'arch_accept_memory' was not declared. Should it be static? ../arch/x86/boot/compressed/sev.c:30:13: warning: symbol 'boot_ghcb' was not declared. Should it be static? ../arch/x86/boot/compressed/sev.c: note: in included file (through ../arch/x86/boot/compressed/../../lib/inat.c): ./arch/x86/lib//inat-tables.c:5:19: warning: symbol 'inat_primary_table' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:219:19: warning: symbol 'inat_escape_table_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:443:19: warning: symbol 'inat_escape_table_1_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:571:19: warning: symbol 'inat_escape_table_1_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:607:19: warning: symbol 'inat_escape_table_1_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:645:19: warning: symbol 'inat_escape_table_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:860:19: warning: symbol 'inat_escape_table_2_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1064:19: warning: symbol 'inat_escape_table_2_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1116:19: warning: symbol 'inat_escape_table_2_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1146:19: warning: symbol 'inat_escape_table_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1223:19: warning: symbol 'inat_escape_table_3_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1297:19: warning: symbol 'inat_escape_table_3_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1301:19: warning: symbol 'inat_escape_table_3_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1306:19: warning: symbol 'inat_avx_table_4' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1391:19: warning: symbol 'inat_avx_table_4_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1442:19: warning: symbol 'inat_avx_table_4_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1449:19: warning: symbol 'inat_avx_table_4_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1470:19: warning: symbol 'inat_avx_table_5' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1497:19: warning: symbol 'inat_avx_table_5_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1510:19: warning: symbol 'inat_avx_table_5_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1530:19: warning: symbol 'inat_avx_table_5_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1537:19: warning: symbol 'inat_avx_table_6' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1582:19: warning: symbol 'inat_avx_table_6_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1623:19: warning: symbol 'inat_avx_table_6_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1629:19: warning: symbol 'inat_avx_table_6_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1637:19: warning: symbol 'inat_avx_table_7' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1640:19: warning: symbol 'inat_avx_table_7_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1643:19: warning: symbol 'inat_avx_table_7_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1654:19: warning: symbol 'inat_group_table_6' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1666:19: warning: symbol 'inat_group_table_7' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1678:19: warning: symbol 'inat_group_table_8' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1684:19: warning: symbol 'inat_group_table_9' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1695:19: warning: symbol 'inat_group_table_10' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1704:19: warning: symbol 'inat_group_table_10_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1709:19: warning: symbol 'inat_group_table_11' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1719:19: warning: symbol 'inat_group_table_11_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1726:19: warning: symbol 'inat_group_table_24' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1731:19: warning: symbol 'inat_group_table_24_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1734:19: warning: symbol 'inat_group_table_24_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1742:19: warning: symbol 'inat_group_table_4' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1748:19: warning: symbol 'inat_group_table_5' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1754:19: warning: symbol 'inat_group_table_16' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1759:19: warning: symbol 'inat_group_table_16_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1766:19: warning: symbol 'inat_group_table_17' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1773:19: warning: symbol 'inat_group_table_17_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1782:19: warning: symbol 'inat_group_table_18' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1788:19: warning: symbol 'inat_group_table_18_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1796:19: warning: symbol 'inat_group_table_21' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1805:19: warning: symbol 'inat_group_table_21_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1808:19: warning: symbol 'inat_group_table_21_2' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1817:19: warning: symbol 'inat_group_table_21_3' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1822:19: warning: symbol 'inat_group_table_13' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1830:19: warning: symbol 'inat_group_table_27' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1837:19: warning: symbol 'inat_group_table_25' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1843:19: warning: symbol 'inat_group_table_25_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1851:19: warning: symbol 'inat_group_table_26' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1857:19: warning: symbol 'inat_group_table_26_1' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1865:19: warning: symbol 'inat_group_table_14' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1870:19: warning: symbol 'inat_group_table_15' was not declared. Should it be static? ./arch/x86/lib//inat-tables.c:1873:19: warning: symbol 'inat_group_table_15_2' was not declared. Should it be static? ../arch/x86/boot/compressed/sev.c: note: in included file: ../arch/x86/boot/compressed/../../lib/insn.c:91:21: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:91:21: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:138:13: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:138:13: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:163:21: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:163:21: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:180:21: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:180:21: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:190:29: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:190:29: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:204:13: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:204:13: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:207:34: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:207:34: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:220:30: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:220:30: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:222:30: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:222:30: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:230:30: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:230:30: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:287:14: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:287:14: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:329:22: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:329:22: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:374:23: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:374:23: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:452:40: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:452:40: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:513:40: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:513:40: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:517:48: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:517:48: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:523:48: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:523:48: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:540:49: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:540:49: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:543:49: warning: cast to restricted __le32 ../arch/x86/boot/compressed/../../lib/insn.c:543:49: warning: cast to restricted __le16 ../arch/x86/boot/compressed/../../lib/insn.c:546:49: warning: too many warnings