Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../arch/x86/hyperv/hv_init.c:108:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:276:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:276:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:276:33: got void * ../arch/x86/platform/uv/uv_nmi.c:318:27: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:318:27: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:318:27: got int *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:325:32: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: got int *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:328:30: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: got int *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:331:21: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: got int *addr ../arch/x86/platform/uv/uv_nmi.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:573:9: warning: context imbalance in 'uv_check_nmi' - different lock contexts for basic block ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:591:17: warning: context imbalance in 'uv_handle_nmi' - unexpected unlock ../drivers/pci/pci-driver.c:520:42: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:520:61: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:751:28: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:751:46: warning: restricted pci_power_t degrades to integer ../drivers/iommu/amd/init.c:182:1: warning: symbol 'amd_ivhd_dev_flags_list' was not declared. Should it be static? ../drivers/iommu/intel/iommu.c:3708:13: warning: context imbalance in 'intel_iommu_enforce_cache_coherency_fs' - wrong count at exit ../drivers/iommu/intel/iommu.c:3728:13: warning: context imbalance in 'intel_iommu_enforce_cache_coherency_ss' - wrong count at exit ../arch/x86/xen/mmu_pv.c:707:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:719:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../arch/x86/kernel/setup.c:231:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../security/integrity/ima/ima_kexec.c:113:30: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:113:30: expected unsigned short [addressable] [assigned] [usertype] version ../security/integrity/ima/ima_kexec.c:113:30: got restricted __le16 [usertype] ../security/integrity/ima/ima_kexec.c:114:28: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:114:28: expected unsigned long long [addressable] [assigned] [usertype] count ../security/integrity/ima/ima_kexec.c:114:28: got restricted __le64 [usertype] ../security/integrity/ima/ima_kexec.c:115:34: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:115:34: expected unsigned long long [addressable] [assigned] [usertype] buffer_size ../security/integrity/ima/ima_kexec.c:115:34: got restricted __le64 [usertype] ../net/core/dev.c:5795:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c: note: in included file (through ../include/linux/filter.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/net/sch_generic.h:225:30: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5751:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/scsi/aacraid/commsup.c:592:17: warning: context imbalance in 'aac_fib_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:747:17: warning: context imbalance in 'aac_hba_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:1490:32: warning: context imbalance in '_aac_reset_adapter' - unexpected unlock ../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/scsi/qla2xxx/qla_os.c: note: in included file (through ../drivers/scsi/qla2xxx/qla_def.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c: note: in included file (through ../drivers/scsi/lpfc/lpfc_hw4.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15411:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15421:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9168:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9171:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9172:23: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:693:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:713:17: expected unsigned int [usertype] word3 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21289:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21297:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: expected unsigned int [usertype] addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21343:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:452:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:578:17: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:600:24: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2357:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2459:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2460:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2463:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2464:36: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9623:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9668:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12119:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12147:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14797:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18515:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18517:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18517:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19162:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12898:36: warning: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block ../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/lpfc/lpfc_init.c: note: in included file (through ../drivers/scsi/lpfc/lpfc_hw4.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/scsi/lpfc/lpfc_init.c: note: in included file: ../drivers/scsi/lpfc/lpfc_ids.h:26:28: warning: symbol 'lpfc_id_table' was not declared. Should it be static? ../drivers/scsi/lpfc/lpfc_init.c:148:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:148:40: expected unsigned int [usertype] ../drivers/scsi/lpfc/lpfc_init.c:148:40: got restricted __be32 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:4608:24: warning: cast to restricted __be64 ../drivers/scsi/lpfc/lpfc_init.c:8140:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8140:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8140:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8145:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8145:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8145:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14613:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14614:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14615:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14616:17: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1243:22: warning: context imbalance in 'chtls_recv_sock' - 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 ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: warning: incorrect type in assignment (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: expected unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: got void [noderef] __iomem * ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: expected void [noderef] __iomem *addr ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: got unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c: note: in included file (through ../include/scsi/libfc.h, ../include/scsi/libfcoe.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885: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=] 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885:54: note: directive argument in the range [-2147483641, 65534] 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1886 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:5347:31: warning: context imbalance in 'hclge_sync_fd_user_def_cfg' - unexpected unlock ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/helpers.c:1203:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1203:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1203:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1962:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1963:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1964:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1965:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1966:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1967:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1968:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1969:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1970:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1971:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1974:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2234:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2248:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2279:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2287:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2293:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2338:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2348:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2381:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2386:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2401:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2467:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2477:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2484:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2491:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2501:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2517:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2528:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2533:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2546:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2558:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2563:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2576:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2596:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2616:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2659:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2676:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2695:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2736:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2859:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2878:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2885:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2895:17: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2987:17: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:3022:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:3027:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:3032:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3037:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3073:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3092:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3106:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3123:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3137:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3142:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3201:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3262:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3288:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3312:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3357:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3387:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3392:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3397:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3452:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3470:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3491:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3528:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3545:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3577:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3610:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3640:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3658:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3702:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3793:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3812:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3831:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3852:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4288:17: warning: symbol 'bpf_task_work_schedule_signal_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:4307:17: warning: symbol 'bpf_task_work_schedule_resume_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:4339:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4349:17: warning: symbol 'bpf_dynptr_file_discard' was not declared. Should it be static? ../kernel/bpf/helpers.c:3032:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:897:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../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/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/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 ../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 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../arch/x86/hyperv/hv_init.c:108:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:276:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:276:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:276:33: got void * ../security/integrity/ima/ima_kexec.c:113:30: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:113:30: expected unsigned short [addressable] [assigned] [usertype] version ../security/integrity/ima/ima_kexec.c:113:30: got restricted __le16 [usertype] ../security/integrity/ima/ima_kexec.c:114:28: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:114:28: expected unsigned long long [addressable] [assigned] [usertype] count ../security/integrity/ima/ima_kexec.c:114:28: got restricted __le64 [usertype] ../security/integrity/ima/ima_kexec.c:115:34: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:115:34: expected unsigned long long [addressable] [assigned] [usertype] buffer_size ../security/integrity/ima/ima_kexec.c:115:34: got restricted __le64 [usertype] ../arch/x86/platform/uv/uv_nmi.c:318:27: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:318:27: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:318:27: got int *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:325:32: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: got int *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:328:30: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: got int *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:331:21: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: got int *addr ../arch/x86/platform/uv/uv_nmi.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:573:9: warning: context imbalance in 'uv_check_nmi' - different lock contexts for basic block ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:591:17: warning: context imbalance in 'uv_handle_nmi' - unexpected unlock ../drivers/pci/pci-driver.c:520:42: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:520:61: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:751:28: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:751:46: warning: restricted pci_power_t degrades to integer ../arch/x86/kernel/setup.c:231:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../drivers/scsi/aacraid/commsup.c:592:17: warning: context imbalance in 'aac_fib_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:747:17: warning: context imbalance in 'aac_hba_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:1490:32: warning: context imbalance in '_aac_reset_adapter' - unexpected unlock ../drivers/iommu/amd/init.c:182:1: warning: symbol 'amd_ivhd_dev_flags_list' was not declared. Should it be static? ../arch/x86/xen/mmu_pv.c:707:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:719:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../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/iommu/intel/iommu.c:3708:13: warning: context imbalance in 'intel_iommu_enforce_cache_coherency_fs' - wrong count at exit ../drivers/iommu/intel/iommu.c:3728:13: warning: context imbalance in 'intel_iommu_enforce_cache_coherency_ss' - wrong count at exit ../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/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1572 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1572:33: note: directive argument in the range [0, 4294967294] 1572 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1570:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1570 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1571 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1572 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:40: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1583 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1583:33: note: directive argument in the range [0, 4294967294] 1583 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1581:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1581 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1583 | "%s-tx-%u", netdev->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_fcoe.c: note: in included file (through ../include/scsi/libfc.h, ../include/scsi/libfcoe.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/cisco/enic/enic_main.c:270:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:274:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:269:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:629:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:636:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:628:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1243:22: warning: context imbalance in 'chtls_recv_sock' - 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 ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: warning: incorrect type in assignment (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: expected unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: got void [noderef] __iomem * ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: expected void [noderef] __iomem *addr ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: got unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../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/scsi/qla2xxx/qla_os.c: note: in included file (through ../drivers/scsi/qla2xxx/qla_def.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885: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=] 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885:54: note: directive argument in the range [-2147483641, 65534] 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1885:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1885 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1886 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/helpers.c:1203:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1203:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1203:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1962:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1963:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1964:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1965:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1966:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1967:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1968:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1969:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1970:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1971:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1974:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2234:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2248:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2279:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2287:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2293:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2338:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2348:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2381:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2386:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2401:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2467:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2477:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2484:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2491:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2501:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2517:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2528:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2533:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2546:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2558:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2563:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2576:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2596:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2616:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2659:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2676:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2695:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2736:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2859:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2878:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2885:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2895:17: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2987:17: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:3022:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:3027:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:3032:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3037:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3073:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3092:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3106:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3123:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3137:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3142:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3201:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3262:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3288:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3312:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3357:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3387:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3392:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3397:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3452:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3470:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3491:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3528:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3545:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3577:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3610:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3640:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3658:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3702:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3793:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3812:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3831:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3852:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4288:17: warning: symbol 'bpf_task_work_schedule_signal_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:4307:17: warning: symbol 'bpf_task_work_schedule_resume_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:4339:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4349:17: warning: symbol 'bpf_dynptr_file_discard' was not declared. Should it be static? ../kernel/bpf/helpers.c:3032:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:897:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../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/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:5347:31: warning: context imbalance in 'hclge_sync_fd_user_def_cfg' - unexpected unlock ../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/dev.c:5795:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c: note: in included file (through ../include/linux/filter.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/net/sch_generic.h:225:30: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5751:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/scsi/lpfc/lpfc_init.c: note: in included file (through ../drivers/scsi/lpfc/lpfc_hw4.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/scsi/lpfc/lpfc_init.c: note: in included file: ../drivers/scsi/lpfc/lpfc_ids.h:26:28: warning: symbol 'lpfc_id_table' was not declared. Should it be static? ../drivers/scsi/lpfc/lpfc_init.c:148:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:148:40: expected unsigned int [usertype] ../drivers/scsi/lpfc/lpfc_init.c:148:40: got restricted __be32 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:4608:24: warning: cast to restricted __be64 ../drivers/scsi/lpfc/lpfc_init.c:8140:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8140:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8140:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8145:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8145:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8145:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14613:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14614:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14615:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14616:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c: note: in included file (through ../drivers/scsi/lpfc/lpfc_hw4.h): ../include/uapi/scsi/fc/fc_els.h:1152:37: warning: array of flexible structures ../include/uapi/scsi/fc/fc_els.h:1170:37: warning: array of flexible structures ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18151:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18153:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18155:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18170:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15411:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15412:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15421:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9168:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9171:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9172:23: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:693:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:713:17: expected unsigned int [usertype] word3 ../drivers/scsi/lpfc/lpfc_sli.c:713:17: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21289:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21297:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21298:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21332:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: expected unsigned int [usertype] addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21343:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21345:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21346:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:452:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:578:17: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:578:17: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:600:24: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2357:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2459:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2460:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2463:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2464:36: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9623:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9668:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12119:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12147:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14797:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17963:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17965:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17968:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17970:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18263:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18265:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18272:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18274:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18285:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18515:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18517:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18517:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18536:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19162:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20960:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12898:36: warning: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?