.pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:296:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 296 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:609:53: note: in expansion of macro ‘PHY_ID_FMT’ 609 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:296:24: note: format string is defined here 296 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:296:20: note: using the range [0, 4294967295] for directive argument 296 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:609:53: note: in expansion of macro ‘PHY_ID_FMT’ 609 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:609:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 609 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 610 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/rds/af_rds.c:247:22: warning: invalid assignment: |= ../net/rds/af_rds.c:247:22: left side has type restricted __poll_t ../net/rds/af_rds.c:247:22: right side has type int .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 ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../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 ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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 ../net/rds/af_rds.c:247:22: warning: invalid assignment: |= ../net/rds/af_rds.c:247:22: left side has type restricted __poll_t ../net/rds/af_rds.c:247:22: right side has type int ../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?