Hi Menglong, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/bpf-add-function-hash-table-for-tracing-multi/20250703-203035 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20250703121521.1874196-6-dongml2%40chinatelecom.cn patch subject: [PATCH bpf-next v2 05/18] bpf: introduce bpf_gtramp_link config: x86_64-buildonly-randconfig-002-20250704 (https://download.01.org/0day-ci/archive/20250704/202507041433.Taj70BHu-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250704/202507041433.Taj70BHu-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202507041433.Taj70BHu-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> kernel/bpf/trampoline.c:36:34: warning: 'bpf_shim_tramp_link_lops' defined but not used [-Wunused-const-variable=] 36 | static const struct bpf_link_ops bpf_shim_tramp_link_lops; | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/bpf_shim_tramp_link_lops +36 kernel/bpf/trampoline.c 33 34 static struct bpf_global_trampoline global_tr_array[MAX_BPF_FUNC_ARGS + 1]; 35 static DEFINE_MUTEX(global_tr_lock); > 36 static const struct bpf_link_ops bpf_shim_tramp_link_lops; 37 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki