.pylintrc: warning: ignored by one of the .gitignore files ../fs/bpf_fs_kfuncs.c:41:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:57:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:81:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:129:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:162:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:288:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:314:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../kernel/bpf/verifier.c:349:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22665: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 ../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:82:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:130:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:163:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:289:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:315:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:339:17: warning: symbol 'bpf_iter_path_new' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:364:25: warning: symbol 'bpf_iter_path_next' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:383:18: warning: symbol 'bpf_iter_path_destroy' was not declared. Should it be static? ../kernel/bpf/verifier.c:349:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22670: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? New errors added --- /tmp/tmp.xhA72apEyT 2025-06-17 00:23:17.771978680 -0700 +++ /tmp/tmp.zRJUBzxj6O 2025-06-17 00:25:24.384849757 -0700 @@ -2,7 +2,10 @@ -../fs/bpf_fs_kfuncs.c:41:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:57:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:81:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:129:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:162:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:288:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:314:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:82:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:130:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:163:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:289:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:315:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:339:17: warning: symbol 'bpf_iter_path_new' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:364:25: warning: symbol 'bpf_iter_path_next' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:383:18: warning: symbol 'bpf_iter_path_destroy' was not declared. Should it be static? @@ -10 +13 @@ -../kernel/bpf/verifier.c:22665:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:22670:38: error: subtraction of functions? Share your drugs Per-file breakdown --- /tmp/tmp.s3HbLlIjYF 2025-06-17 00:25:24.391849712 -0700 +++ /tmp/tmp.9PjoE9gq6B 2025-06-17 00:25:24.393849699 -0700 @@ -1 +1 @@ - 7 ../fs/bpf_fs_kfuncs.c + 10 ../fs/bpf_fs_kfuncs.c