../drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_request_intr’: ../drivers/net/ethernet/cisco/enic/enic_main.c:1746: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=] 1746 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1746:33: note: directive argument in the range [0, 4294967294] 1746 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1744:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1744 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1745 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1746 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1757: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=] 1757 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1757:33: note: directive argument in the range [0, 4294967294] 1757 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1755:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1755 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1756 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1757 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_pp.c:147:45: warning: dubious: x | !y ../drivers/net/ethernet/cisco/enic/enic_pp.c:148:52: warning: dubious: x | !y ../drivers/net/ethernet/cisco/enic/enic_pp.c:149:73: warning: dubious: x | !y ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: got unsigned short [usertype] ../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:649:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:656:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:37: note: directive argument in the range [-2147483641, 254] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 506 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:32: note: directive argument in the range [-2147483641, 2147483646] 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:32:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:35:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:45:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:48:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:856:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:598:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2387:46: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2410:38: warning: cast removes address space '__iomem' of expression WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - 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:1832: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=] 1832 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1832:33: note: directive argument in the range [0, 4294967294] 1832 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1830:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1830 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1831 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1832 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1843: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=] 1843 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1843:33: note: directive argument in the range [0, 4294967294] 1843 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1841:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1841 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1842 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1843 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:649:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:656:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - 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:1746: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=] 1746 | "%s-rx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1746:33: note: directive argument in the range [0, 4294967294] 1746 | "%s-rx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1744:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1744 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1745 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1746 | "%s-rx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1757: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=] 1757 | "%s-tx-%u", netdev->name, i); | ^~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1757:33: note: directive argument in the range [0, 4294967294] 1757 | "%s-tx-%u", netdev->name, i); | ^~~~~~~~~~ ../drivers/net/ethernet/cisco/enic/enic_main.c:1755:25: note: ‘snprintf’ output between 6 and 30 bytes into a destination of size 24 1755 | snprintf(enic->msix[intr].devname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1756 | sizeof(enic->msix[intr].devname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1757 | "%s-tx-%u", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:649:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:656:14: warning: cast to restricted __be16 ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cisco/enic/enic_main.c:648:20: warning: restricted __be16 degrades to integer ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?