.pylintrc: warning: ignored by one of the .gitignore files ../kernel/sys.c:1115:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1115:32: expected struct task_struct *p1 ../kernel/sys.c:1115:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1865:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1735 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:37: note: directive argument in the range [-2147483641, 254] 1735 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1735 | 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_pf.c:681:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:823:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:823:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:823:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:829:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:829:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:829:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:842:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:842:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:842:28: got struct rvu_fwdata *fwdata ../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:433:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../kernel/sys.c:1115:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1115:32: expected struct task_struct *p1 ../kernel/sys.c:1115:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1865:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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:433:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1735 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:37: note: directive argument in the range [-2147483641, 254] 1735 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1735:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1735 | 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_pf.c:681:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:681:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:826:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:826:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:826:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:832:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:832:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:832:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:845:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:845:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:845:28: got struct rvu_fwdata *fwdata ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?