Re: [PATCH bpf-next 14/25] bpf: tracing: add multi-link support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Menglong,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/add-per-function-metadata-storage-support/20250528-115819
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/20250528034712.138701-15-dongml2%40chinatelecom.cn
patch subject: [PATCH bpf-next 14/25] bpf: tracing: add multi-link support
config: arm-randconfig-002-20250528 (https://download.01.org/0day-ci/archive/20250528/202505281947.qIShGsJU-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250528/202505281947.qIShGsJU-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/202505281947.qIShGsJU-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> kernel/bpf/syscall.c:3727:2: error: call to undeclared function 'bpf_gtrampoline_unlink_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    3727 |         bpf_gtrampoline_unlink_prog(&multi_link->link);
         |         ^
   kernel/bpf/syscall.c:3727:2: note: did you mean 'bpf_trampoline_unlink_prog'?
   include/linux/bpf.h:1492:19: note: 'bpf_trampoline_unlink_prog' declared here
    1492 | static inline int bpf_trampoline_unlink_prog(struct bpf_tramp_link *link,
         |                   ^
>> kernel/bpf/syscall.c:3995:8: error: call to undeclared function 'bpf_gtrampoline_link_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    3995 |         err = bpf_gtrampoline_link_prog(&link->link);
         |               ^
   kernel/bpf/syscall.c:3995:8: note: did you mean 'bpf_trampoline_link_prog'?
   include/linux/bpf.h:1486:19: note: 'bpf_trampoline_link_prog' declared here
    1486 | static inline int bpf_trampoline_link_prog(struct bpf_tramp_link *link,
         |                   ^
   kernel/bpf/syscall.c:4001:3: error: call to undeclared function 'bpf_gtrampoline_unlink_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4001 |                 bpf_gtrampoline_unlink_prog(&link->link);
         |                 ^
   3 errors generated.


vim +/bpf_gtrampoline_unlink_prog +3727 kernel/bpf/syscall.c

  3721	
  3722	static void bpf_tracing_multi_link_release(struct bpf_link *link)
  3723	{
  3724		struct bpf_tracing_multi_link *multi_link =
  3725			container_of(link, struct bpf_tracing_multi_link, link.link);
  3726	
> 3727		bpf_gtrampoline_unlink_prog(&multi_link->link);
  3728		__bpf_tracing_multi_link_release(multi_link);
  3729	}
  3730	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux