../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/sched/cls_api.c:390:22: warning: incorrect type in assignment (different base types) ../net/sched/cls_api.c:390:22: expected restricted __be16 [usertype] protocol ../net/sched/cls_api.c:390:22: got unsigned int [usertype] protocol ../net/sched/cls_api.c:1921:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1921:16: struct tcf_proto * ../net/sched/cls_api.c:1921:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2022:20: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2022:20: struct tcf_proto * ../net/sched/cls_api.c:1983:25: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:1983:25: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:1983:25: struct tcf_proto * ../net/sched/cls_api.c:2003:16: error: incompatible types in comparison expression (different address spaces): ../net/sched/cls_api.c:2003:16: struct tcf_proto * ../net/sched/cls_api.c:2003:16: struct tcf_proto [noderef] __rcu * ../net/sched/cls_api.c:2076:25: warning: restricted __be16 degrades to integer ../net/sched/cls_api.c:2792:50: warning: restricted __be16 degrades to integer ../net/core/dev.c:5698:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4126:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5656:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/atm/lec.c:895:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:951:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../net/sched/act_bpf.c:133:9: warning: incorrect type in argument 1 (different address spaces) ../net/sched/act_bpf.c:133:9: expected void const * ../net/sched/act_bpf.c:133:9: got unsigned char [noderef] __rcu * ../net/sched/act_bpf.c:133:9: warning: incorrect type in argument 1 (different address spaces) ../net/sched/act_bpf.c:133:9: expected void const * ../net/sched/act_bpf.c:133:9: got unsigned char [noderef] __rcu * ../net/sched/act_bpf.c:133:9: warning: incorrect type in argument 2 (different address spaces) ../net/sched/act_bpf.c:133:9: expected void const * ../net/sched/act_bpf.c:133:9: got unsigned char [noderef] __rcu * ../net/sched/act_bpf.c:126:50: warning: dereference of noderef expression ../net/sched/act_bpf.c:126:50: warning: dereference of noderef expression ../net/sched/act_skbmod.c:73:39: warning: incorrect type in assignment (different base types) ../net/sched/act_skbmod.c:73:39: expected restricted __be16 [usertype] h_proto ../net/sched/act_skbmod.c:73:39: got unsigned short [usertype] eth_type ../net/sched/act_skbmod.c:207:29: warning: incorrect type in assignment (different base types) ../net/sched/act_skbmod.c:207:29: expected unsigned short [usertype] eth_type ../net/sched/act_skbmod.c:207:29: got restricted __be16 [usertype] ../net/sched/act_skbmod.c:263:48: warning: cast to restricted __be16 ../net/sched/act_skbmod.c:213:9: warning: context imbalance in 'tcf_skbmod_init' - different lock contexts for basic block ../net/sched/act_ife.c:56:15: warning: incorrect type in assignment (different base types) ../net/sched/act_ife.c:56:15: expected unsigned short [assigned] [usertype] edata ../net/sched/act_ife.c:56:15: got restricted __be16 [usertype] ../net/sched/act_ife.c:100:15: warning: incorrect type in assignment (different base types) ../net/sched/act_ife.c:100:15: expected unsigned int [assigned] [usertype] edata ../net/sched/act_ife.c:100:15: got restricted __be32 [usertype] ../net/sched/act_ife.c:322:9: warning: context imbalance in '__add_metainfo' - different lock contexts for basic block ../net/sched/act_ife.c:626:9: warning: context imbalance in 'tcf_ife_init' - different lock contexts for basic block ../net/sched/act_meta_mark.c:33:21: warning: cast to restricted __be32 ../net/sched/act_meta_skbprio.c:38:25: warning: cast to restricted __be32 ../net/sched/act_meta_skbtcindex.c:33:25: warning: cast to restricted __be16 ../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../net/bridge/br_multicast.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures ../net/netfilter/nf_tables_offload.c:253:24: warning: incorrect type in initializer (different base types) ../net/netfilter/nf_tables_offload.c:253:24: expected restricted __be16 [usertype] proto ../net/netfilter/nf_tables_offload.c:253:24: got int ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3182:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3182 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3182:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3182 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3183 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/bridge/br_netfilter_hooks.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/net/ethernet/cadence/macb_main.c:282:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:282:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:282:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:284:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:284:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3645:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3650:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3655:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3655:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3680:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3684:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3684:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3684:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3694:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3698:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3698:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3698:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3708:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3708:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3714:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3715:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3722:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3723:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3726:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3762:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3762:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3816:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3816:25: warning: cast from restricted __be32 ../net/sched/sch_mqprio.c:702:17: warning: context imbalance in 'mqprio_dump_class_stats' - different lock contexts for basic block ../fs/nfs/super.c:1197:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1197:49: expected struct rpc_xprt *xprt1 ../fs/nfs/super.c:1197:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../fs/nfs/super.c:1198:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1198:49: expected struct rpc_xprt *xprt2 ../fs/nfs/super.c:1198:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:132:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: got void *hwbase ../net/sched/em_cmp.c:40:31: warning: cast to restricted __be16 ../net/sched/em_cmp.c:50:31: warning: cast to restricted __be32 ../net/sched/em_meta.c:198:20: warning: incorrect type in assignment (different base types) ../net/sched/em_meta.c:198:20: expected unsigned long value ../net/sched/em_meta.c:198:20: got restricted __be16 ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4478:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/bonding/bond_options.c:1251:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1251:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1251:24: got unsigned long long const [usertype] value ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:727:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 727 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:774:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:727:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 727 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:734:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 734 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:774:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:734:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 734 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 735 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1243:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../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/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/dwxgmac2_descs.c:126:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:126:50: warning: restricted __le32 degrades to integer ../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/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/ethernet/intel/ice/ice_ptp.c:203:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:359:9: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1623:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8031:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12036:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12055:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12071:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12092:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12189:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12322:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5952:17: expected unsigned int [usertype] spi ../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8031:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12036:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12055:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12071:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12092:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12189:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12322:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5952:17: expected unsigned int [usertype] spi ../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 ../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/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1243:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../fs/nfs/super.c:1197:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1197:49: expected struct rpc_xprt *xprt1 ../fs/nfs/super.c:1197:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../fs/nfs/super.c:1198:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1198:49: expected struct rpc_xprt *xprt2 ../fs/nfs/super.c:1198:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1623:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8031:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12036:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12055:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12071:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12092:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12189:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12322:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5952:17: expected unsigned int [usertype] spi ../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 ../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/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1243:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../fs/nfs/super.c:1197:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1197:49: expected struct rpc_xprt *xprt1 ../fs/nfs/super.c:1197:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../fs/nfs/super.c:1198:49: warning: incorrect type in initializer (different address spaces) ../fs/nfs/super.c:1198:49: expected struct rpc_xprt *xprt2 ../fs/nfs/super.c:1198:49: got struct rpc_xprt [noderef] __rcu *cl_xprt ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1623:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?