========== build_allmodconfig_warn - FAILED ../fs/bpf_fs_kfuncs.c:39:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:55:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:114:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:155:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:755:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:781:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:829:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:829:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:829:41: got void * ../kernel/trace/bpf_trace.c:1280:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1329:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1353:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1373:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3526:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3534:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3575:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2627:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2631:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21869: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 ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../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? ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:755:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:781:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:829:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:829:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:829:41: got void * ../kernel/trace/bpf_trace.c:1280:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1329:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1353:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1373:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3526:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3534:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3575:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2627:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2631:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21869: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 ../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:116:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:157:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:194:17: warning: symbol 'bpf_set_dentry_xattr_locked' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:244:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:270:17: warning: symbol 'bpf_remove_dentry_xattr_locked' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:305:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../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.kQmKziIis0 2025-01-24 14:32:04.293306036 -0800 +++ /tmp/tmp.DuYRJGSXJc 2025-01-24 14:33:57.803108181 -0800 @@ -1,5 +0,0 @@ -../fs/bpf_fs_kfuncs.c:39:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:55:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:79:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:114:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? -../fs/bpf_fs_kfuncs.c:155:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? @@ -37,0 +33,9 @@ +../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:116:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:157:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:194:17: warning: symbol 'bpf_set_dentry_xattr_locked' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:244:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:270:17: warning: symbol 'bpf_remove_dentry_xattr_locked' was not declared. Should it be static? +../fs/bpf_fs_kfuncs.c:305:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.tlEWRxZEBF 2025-01-24 14:33:57.811108096 -0800 +++ /tmp/tmp.d9dTHh6GBX 2025-01-24 14:33:57.813108075 -0800 @@ -1 +1 @@ - 5 ../fs/bpf_fs_kfuncs.c + 9 ../fs/bpf_fs_kfuncs.c