../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21925: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/arraymap.c:264:17: warning: cast removes address space '__percpu' of expression ../kernel/bpf/arraymap.c:272:21: warning: cast removes address space '__percpu' of expression ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21880: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? ../kernel/bpf/arraymap.c:264:17: warning: cast removes address space '__percpu' of expression ../kernel/bpf/arraymap.c:272:21: warning: cast removes address space '__percpu' of expression ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21925: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.0D7H5ltgdI 2025-02-13 10:36:16.436688943 -0800 +++ /tmp/tmp.ywCfMQQ2X4 2025-02-13 10:37:44.753751602 -0800 @@ -0,0 +1,2 @@ +../kernel/bpf/arraymap.c:264:17: warning: cast removes address space '__percpu' of expression +../kernel/bpf/arraymap.c:272:21: warning: cast removes address space '__percpu' of expression @@ -2 +4 @@ -../kernel/bpf/verifier.c:21880:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:21925:38: error: subtraction of functions? Share your drugs Per-file breakdown --- /tmp/tmp.rmjEpHD9Hs 2025-02-13 10:37:44.760751528 -0800 +++ /tmp/tmp.lrFcH3mmLZ 2025-02-13 10:37:44.762751507 -0800 @@ -1,0 +2 @@ + 2 ../kernel/bpf/arraymap.c