../drivers/char/virtio_console.c: In function ‘add_port.isra’: ../drivers/char/virtio_console.c:1427:63: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~ ../drivers/char/virtio_console.c:1427:54: note: directive argument in the range [0, 4294967294] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~ ../drivers/char/virtio_console.c:1427:9: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 16 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1428 | port->portdev->vdev->index, id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/socket.c:1673:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../arch/x86/kernel/setup.c:167:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../arch/x86/xen/mmu_pv.c:664:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:676:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../drivers/virtio/virtio_dma_buf.c:42: warning: Function parameter or struct member 'dma_buf' not described in 'virtio_dma_buf_attach' ../drivers/virtio/virtio_dma_buf.c:42: warning: Function parameter or struct member 'attach' not described in 'virtio_dma_buf_attach' ../net/core/dev.c:3534:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3534:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3534:23: got unsigned int ../net/core/dev.c:3534:23: warning: cast from restricted __wsum ../net/core/dev.c:5497:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3986:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5455:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/misc/nsm.c:492:38: warning: Using plain integer as NULL pointer ../drivers/misc/nsm.c:494:38: warning: Using plain integer as NULL pointer ../net/packet/af_packet.c:1099:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2541:17: warning: context imbalance in 'tpacket_rcv' - 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/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/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1863: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=] 1863 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1863:33: note: directive argument in the range [0, 4294967294] 1863 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1861:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1861 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1862 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1863 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1874: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=] 1874 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1874:33: note: directive argument in the range [0, 4294967294] 1874 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1872:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1872 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1873 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1874 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - 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/cisco/enic/enic_main.c:273:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:277:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:272:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:272:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:680:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:687:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:679:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:679:20: warning: restricted __be16 degrades to integer ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/scsi/lpfc/lpfc_sli.c:18157:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18157:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18159:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18159:47: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18159:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18161:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18161:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18161:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18163:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18163:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18163:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18176:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18176:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18176:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:15417:13: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15418:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15418:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15418:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15418:17: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:15427:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9160:16: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9163:21: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9164: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:21295:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21303:37: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21304:38: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21304:38: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21304:38: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21338:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21338:36: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21338:36: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21347:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21347:30: expected unsigned int [usertype] addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:21347:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21348:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21348:30: expected unsigned int [usertype] addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:21348:30: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21349:30: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:21351:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21351:28: expected unsigned int [usertype] word2 ../drivers/scsi/lpfc/lpfc_sli.c:21351:28: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:21352:30: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:21352:30: expected unsigned int [usertype] sge_len ../drivers/scsi/lpfc/lpfc_sli.c:21352: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:2359:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2461:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2462:38: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2465:35: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:2466:36: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9616:33: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:9662:41: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12115:25: warning: cast to restricted __le32 ../drivers/scsi/lpfc/lpfc_sli.c:12143:25: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:14803:16: warning: cast to restricted __le32 ../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_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17969:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17971:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17971:57: expected unsigned int [usertype] sgl_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17971:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17974:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17974:57: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:17974:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:17976:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:17976:57: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:17976:57: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18269:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18269:47: expected unsigned int [usertype] sgl_pg0_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18269: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_pg0_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18271:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18278:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18278:47: expected unsigned int [usertype] sgl_pg1_addr_lo ../drivers/scsi/lpfc/lpfc_sli.c:18278:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18280:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18280:47: expected unsigned int [usertype] sgl_pg1_addr_hi ../drivers/scsi/lpfc/lpfc_sli.c:18280:47: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18291:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:18291:20: expected unsigned int [usertype] word0 ../drivers/scsi/lpfc/lpfc_sli.c:18291:20: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:18521:29: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18523:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18523:33: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:18542:9: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_sli.c:19168:16: warning: restricted __be16 degrades to integer ../drivers/scsi/lpfc/lpfc_sli.c:20966:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_sli.c:20966:45: expected unsigned int ../drivers/scsi/lpfc/lpfc_sli.c:20966:45: got restricted __le32 [usertype] ../drivers/scsi/lpfc/lpfc_sli.c:12902: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:8129:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8129:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8129:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:8134:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/lpfc/lpfc_init.c:8134:21: expected unsigned long long [addressable] [usertype] wwn ../drivers/scsi/lpfc/lpfc_init.c:8134:21: got restricted __be64 [usertype] ../drivers/scsi/lpfc/lpfc_init.c:14623:24: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14624:17: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14625:15: warning: cast to restricted __be32 ../drivers/scsi/lpfc/lpfc_init.c:14626:17: warning: cast to restricted __be32 ../drivers/remoteproc/rcar_rproc.c:29:12: warning: incorrect type in assignment (different address spaces) ../drivers/remoteproc/rcar_rproc.c:29:12: expected void *va ../drivers/remoteproc/rcar_rproc.c:29:12: got void [noderef] __iomem * ../drivers/remoteproc/rcar_rproc.c:46:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/remoteproc/rcar_rproc.c:46:20: expected void volatile [noderef] __iomem *addr ../drivers/remoteproc/rcar_rproc.c:46:20: got void *va ../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/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/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:1615: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?