.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2722:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2722 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2722:52: note: directive argument in the range [-2147483639, 2147483646] 2722 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2722:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2722 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2723 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../drivers/atm/idt77252.c:1220:15: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1233:18: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1390:30: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:1390:30: expected unsigned int [usertype] word_2 ../drivers/atm/idt77252.c:1390:30: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:1426:16: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1432:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1432:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1443:32: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1469:32: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1473:33: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1484:32: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1509:30: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:1509:30: expected unsigned int [usertype] word_2 ../drivers/atm/idt77252.c:1509:30: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:1520:24: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:745:27: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:745:27: expected unsigned int [usertype] word_1 ../drivers/atm/idt77252.c:745:27: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:747:27: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:747:27: expected unsigned int [usertype] word_2 ../drivers/atm/idt77252.c:747:27: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:748:27: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:748:27: expected unsigned int [usertype] word_3 ../drivers/atm/idt77252.c:748:27: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:749:27: warning: incorrect type in assignment (different base types) ../drivers/atm/idt77252.c:749:27: expected unsigned int [usertype] word_4 ../drivers/atm/idt77252.c:749:27: got restricted __le32 [usertype] ../drivers/atm/idt77252.c:1023:16: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1031:33: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1033:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1033:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1033:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1033:17: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1040:18: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1249:30: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1268:26: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1344:32: warning: cast to restricted __le32 ../drivers/atm/idt77252.c:1345:34: warning: cast to restricted __le32 ../kernel/bpf/verifier.c:349:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22406:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../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" ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../kernel/bpf/verifier.c:349:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22407:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../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 ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../kernel/bpf/verifier.c:349:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22406:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../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?