../arch/x86/hyperv/hv_init.c:69:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:237:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:237:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:237:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid/api.h, ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ...): ../arch/x86/include/asm/paravirt.h:219:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../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:755:28: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:755:46: warning: restricted pci_power_t degrades to integer ../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/iommu/amd/init.c:177:1: warning: symbol 'amd_ivhd_dev_flags_list' was not declared. Should it be static? ../security/integrity/ima/ima_kexec.c:60:30: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:60:30: expected unsigned short [addressable] [assigned] [usertype] version ../security/integrity/ima/ima_kexec.c:60:30: got restricted __le16 [usertype] ../security/integrity/ima/ima_kexec.c:61:28: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:61:28: expected unsigned long long [addressable] [assigned] [usertype] count ../security/integrity/ima/ima_kexec.c:61:28: got restricted __le64 [usertype] ../security/integrity/ima/ima_kexec.c:62:34: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:62:34: expected unsigned long long [addressable] [assigned] [usertype] buffer_size ../security/integrity/ima/ima_kexec.c:62:34: got restricted __le64 [usertype] ../arch/x86/kernel/setup.c:233:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../net/core/dev.c:3627:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3627:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3627:23: got unsigned int ../net/core/dev.c:3627:23: warning: cast from restricted __wsum ../net/core/dev.c:5601:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4082:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5559:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../arch/x86/xen/mmu_pv.c:709:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:721:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../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/scsi/aacraid/commsup.c:600:17: warning: context imbalance in 'aac_fib_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:755:17: warning: context imbalance in 'aac_hba_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:1498:32: warning: context imbalance in '_aac_reset_adapter' - unexpected unlock ../net/bluetooth/af_bluetooth.c:245:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block ../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/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2649:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2735:43: warning: array of flexible structures ../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: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:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15410:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15420:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9159:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9162:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9163: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:21288:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21296:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: 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_lo ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21345: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:9614:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9659:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12110:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12138:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14796:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18514:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19161:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12897:36: warning: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block ../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/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 ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../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/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:4595:24: warning: cast to restricted __be64 ../drivers/scsi/lpfc/lpfc_init.c:8128:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8128:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8128:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8133:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8133:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8133:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14621:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14622:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14623:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14624:17: warning: cast to restricted __be32 ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: 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: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/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/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/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 ../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:311:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:311:25: bad type * ../drivers/bluetooth/virtio_bt.c:311:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:314:25: bad type * ../drivers/bluetooth/virtio_bt.c:314:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:349:25: bad type * ../drivers/bluetooth/virtio_bt.c:349:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:352:25: bad type * ../drivers/bluetooth/virtio_bt.c:352:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../arch/x86/hyperv/hv_init.c:69:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:237:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:237:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:237:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid/api.h, ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ...): ../arch/x86/include/asm/paravirt.h:219:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../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:755:28: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:755:46: warning: restricted pci_power_t degrades to integer ../drivers/iommu/amd/init.c:177:1: warning: symbol 'amd_ivhd_dev_flags_list' was not declared. Should it be static? ../arch/x86/xen/mmu_pv.c:709:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:721:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../net/core/dev.c:3627:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3627:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3627:23: got unsigned int ../net/core/dev.c:3627:23: warning: cast from restricted __wsum ../net/core/dev.c:5601:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4082:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5559:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../security/integrity/ima/ima_kexec.c:60:30: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:60:30: expected unsigned short [addressable] [assigned] [usertype] version ../security/integrity/ima/ima_kexec.c:60:30: got restricted __le16 [usertype] ../security/integrity/ima/ima_kexec.c:61:28: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:61:28: expected unsigned long long [addressable] [assigned] [usertype] count ../security/integrity/ima/ima_kexec.c:61:28: got restricted __le64 [usertype] ../security/integrity/ima/ima_kexec.c:62:34: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:62:34: expected unsigned long long [addressable] [assigned] [usertype] buffer_size ../security/integrity/ima/ima_kexec.c:62:34: got restricted __le64 [usertype] ../arch/x86/kernel/setup.c:233:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../drivers/scsi/aacraid/commsup.c:600:17: warning: context imbalance in 'aac_fib_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:755:17: warning: context imbalance in 'aac_hba_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:1498:32: warning: context imbalance in '_aac_reset_adapter' - unexpected unlock ../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/lpfc/lpfc_sli.c:18150:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15410:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15420:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9159:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9162:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9163: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:21288:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21296:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: 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_lo ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21345: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:9614:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9659:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12110:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12138:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14796:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18514:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19161:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12897:36: warning: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block ../drivers/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../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: ../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:4595:24: warning: cast to restricted __be64 ../drivers/scsi/lpfc/lpfc_init.c:8128:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8128:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8128:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8133:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8133:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8133:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14621:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14622:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14623:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14624:17: 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/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/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 ../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:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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 ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../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:69:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:237:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:237:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:237:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid/api.h, ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ...): ../arch/x86/include/asm/paravirt.h:219:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../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:755:28: warning: restricted pci_power_t degrades to integer ../drivers/pci/pci-driver.c:755:46: warning: restricted pci_power_t degrades to integer ../drivers/iommu/amd/init.c:177:1: warning: symbol 'amd_ivhd_dev_flags_list' was not declared. Should it be static? ../security/integrity/ima/ima_kexec.c:60:30: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:60:30: expected unsigned short [addressable] [assigned] [usertype] version ../security/integrity/ima/ima_kexec.c:60:30: got restricted __le16 [usertype] ../security/integrity/ima/ima_kexec.c:61:28: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:61:28: expected unsigned long long [addressable] [assigned] [usertype] count ../security/integrity/ima/ima_kexec.c:61:28: got restricted __le64 [usertype] ../security/integrity/ima/ima_kexec.c:62:34: warning: incorrect type in assignment (different base types) ../security/integrity/ima/ima_kexec.c:62:34: expected unsigned long long [addressable] [assigned] [usertype] buffer_size ../security/integrity/ima/ima_kexec.c:62:34: got restricted __le64 [usertype] ../arch/x86/xen/mmu_pv.c:709:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:721:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../arch/x86/kernel/setup.c:233:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../net/core/dev.c:3627:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3627:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3627:23: got unsigned int ../net/core/dev.c:3627:23: warning: cast from restricted __wsum ../net/core/dev.c:5601:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4082:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5559: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:600:17: warning: context imbalance in 'aac_fib_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:755:17: warning: context imbalance in 'aac_hba_send' - different lock contexts for basic block ../drivers/scsi/aacraid/commsup.c:1498: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/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../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/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../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:18150:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18150:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18152:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18154:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18156:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18169:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15410:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15411:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15420:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9159:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9162:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9163: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:21288:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21296:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21297:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21331:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21340:30: 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_lo ../drivers/scsi/lpfc/lpfc_sli.c:21341:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21342:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21344:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21345:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21345: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:9614:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9659:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12110:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12138:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14796:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17962:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17964:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17967:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18262:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18264:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18273:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18284:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18514:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18516:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18535:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19161:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20959:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12897:36: warning: context imbalance in 'lpfc_sli_abort_taskmgmt' - different lock contexts for basic block ../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:4595:24: warning: cast to restricted __be64 ../drivers/scsi/lpfc/lpfc_init.c:8128:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8128:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8128:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8133:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8133:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8133:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14621:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14622:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14623:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14624: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/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 ../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/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 ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?