========== build_allmodconfig_warn - FAILED ../kernel/bpf/syscall.c:5948:24: warning: ‘btf_ext__new’ defined but not used [-Wunused-function] 5948 | static struct btf_ext *btf_ext__new(const __u8 *data, __u32 size) | ^~~~~~~~~~~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/bpf/syscall.c:6092:1: warning: ‘skip_mods_and_typedefs’ defined but not used [-Wunused-function] 6092 | skip_mods_and_typedefs(const struct btf *btf, u32 id, u32 *res_id) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/syscall.c:6082:13: warning: ‘sym_is_extern’ defined but not used [-Wunused-function] 6082 | static bool sym_is_extern(const Elf64_Sym *sym) | ^~~~~~~~~~~~~ ../kernel/bpf/syscall.c:6056:12: warning: ‘find_extern_sec_btf_id’ defined but not used [-Wunused-function] 6056 | static int find_extern_sec_btf_id(struct btf *btf, int ext_btf_id) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/syscall.c:6016:12: warning: ‘find_extern_btf_id’ defined but not used [-Wunused-function] 6016 | static int find_extern_btf_id(const struct btf *btf, const char *ext_name) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/syscall.c:5998:12: warning: ‘elf_sec_idx_by_name’ defined but not used [-Wunused-function] 5998 | static int elf_sec_idx_by_name(struct bpf_obj *obj, const char *name) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/syscall.c:5948:24: warning: ‘btf_ext__new’ defined but not used [-Wunused-function] 5948 | static struct btf_ext *btf_ext__new(const __u8 *data, __u32 size) | ^~~~~~~~~~~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.FbGibRDpIB 2025-01-09 16:59:06.212760594 -0800 +++ /tmp/tmp.ThswqvfFcN 2025-01-09 17:01:13.545404927 -0800 @@ -0,0 +1,15 @@ +../kernel/bpf/syscall.c:6092:1: warning: ‘skip_mods_and_typedefs’ defined but not used [-Wunused-function] + 6092 | skip_mods_and_typedefs(const struct btf *btf, u32 id, u32 *res_id) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/syscall.c:6082:13: warning: ‘sym_is_extern’ defined but not used [-Wunused-function] + 6082 | static bool sym_is_extern(const Elf64_Sym *sym) + | ^~~~~~~~~~~~~ +../kernel/bpf/syscall.c:6056:12: warning: ‘find_extern_sec_btf_id’ defined but not used [-Wunused-function] + 6056 | static int find_extern_sec_btf_id(struct btf *btf, int ext_btf_id) + | ^~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/syscall.c:6016:12: warning: ‘find_extern_btf_id’ defined but not used [-Wunused-function] + 6016 | static int find_extern_btf_id(const struct btf *btf, const char *ext_name) + | ^~~~~~~~~~~~~~~~~~ +../kernel/bpf/syscall.c:5998:12: warning: ‘elf_sec_idx_by_name’ defined but not used [-Wunused-function] + 5998 | static int elf_sec_idx_by_name(struct bpf_obj *obj, const char *name) + | ^~~~~~~~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.r2bl0lGKsh 2025-01-09 17:01:13.553404842 -0800 +++ /tmp/tmp.568Tbjs0GW 2025-01-09 17:01:13.555404820 -0800 @@ -1 +1 @@ - 1 ../kernel/bpf/syscall.c + 6 ../kernel/bpf/syscall.c