lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505281947.qIShGsJU-lkp@intel.com>
Date: Wed, 28 May 2025 19:34:35 +0800
From: kernel test robot <lkp@...el.com>
To: Menglong Dong <menglong8.dong@...il.com>, alexei.starovoitov@...il.com,
	rostedt@...dmis.org, jolsa@...nel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	bpf@...r.kernel.org, Menglong Dong <dongml2@...natelecom.cn>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next 14/25] bpf: tracing: add multi-link support

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@intel.com/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@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505281947.qIShGsJU-lkp@intel.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ