========== build_32bit - FAILED ../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 ../kernel/bpf/syscall.c: In function ‘load_fd’: ../kernel/bpf/syscall.c:6290:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 6290 | if (copy_from_user(obj->maps, (const void *)attr->load_fd.maps, | ^ ../kernel/bpf/syscall.c:6310:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 6310 | if (copy_from_user(modules, (const void *)attr->load_fd.modules, | ^ ../kernel/bpf/syscall.c: At top level: ../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 New errors added --- /tmp/tmp.cCVL9BTaux 2025-01-09 14:40:27.086566572 -0800 +++ /tmp/tmp.bWDb1y3PD0 2025-01-09 14:42:44.979092578 -0800 @@ -0,0 +1,8 @@ +../kernel/bpf/syscall.c: In function ‘load_fd’: +../kernel/bpf/syscall.c:6290:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 6290 | if (copy_from_user(obj->maps, (const void *)attr->load_fd.maps, + | ^ +../kernel/bpf/syscall.c:6310:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 6310 | if (copy_from_user(modules, (const void *)attr->load_fd.modules, + | ^ +../kernel/bpf/syscall.c: At top level: Per-file breakdown --- /tmp/tmp.y70wJIlDjD 2025-01-09 14:42:44.987092492 -0800 +++ /tmp/tmp.yh2gMxcedt 2025-01-09 14:42:44.989092471 -0800 @@ -1 +1 @@ - 6 ../kernel/bpf/syscall.c + 8 ../kernel/bpf/syscall.c