../kernel/bpf/verifier.c:346:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21470: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/verifier.c:6515:13: warning: ‘set_sext32_default_val’ defined but not used [-Wunused-function] 6515 | static void set_sext32_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6463:13: warning: ‘set_sext64_default_val’ defined but not used [-Wunused-function] 6463 | static void set_sext64_default_val(struct bpf_reg_state *reg, int size) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:346:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21424: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.6qyv1JzGGM 2025-01-30 03:59:34.707430870 -0800 +++ /tmp/tmp.wYVoHkv1kh 2025-01-30 04:01:16.185330223 -0800 @@ -0,0 +1,6 @@ +../kernel/bpf/verifier.c:6515:13: warning: ‘set_sext32_default_val’ defined but not used [-Wunused-function] + 6515 | static void set_sext32_default_val(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/verifier.c:6463:13: warning: ‘set_sext64_default_val’ defined but not used [-Wunused-function] + 6463 | static void set_sext64_default_val(struct bpf_reg_state *reg, int size) + | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2 +8 @@ -../kernel/bpf/verifier.c:21470:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:21424:38: error: subtraction of functions? Share your drugs Per-file breakdown --- /tmp/tmp.OSo3WMBOd3 2025-01-30 04:01:16.193330136 -0800 +++ /tmp/tmp.lZnwGc2yPM 2025-01-30 04:01:16.195330114 -0800 @@ -2 +2 @@ - 2 ../kernel/bpf/verifier.c + 4 ../kernel/bpf/verifier.c