All of lore.kernel.org
 help / color / mirror / Atom feed
* [jolsa-perf:bpf/tracing_multi_9 1/12] kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops'
@ 2026-01-31  5:47 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-31  5:47 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/tracing_multi_9
head:   4a1d38e3df06743886a06b547187aec8023ef27d
commit: 9ecb3af28fc9354376aac0f9645ff70b637c067b [1/12] bpf: Add struct bpf_trampoline_ops object
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260131/202601310604.kd2AINHg-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260131/202601310604.kd2AINHg-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601310604.kd2AINHg-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |                                  ^
   kernel/bpf/trampoline.c:448:15: note: forward declaration of 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |               ^
>> kernel/bpf/trampoline.c:710:12: error: incomplete definition of type 'struct bpf_trampoline_ops'
     710 |                 err = ops->register_fentry(tr, im->image, data);
         |                       ~~~^
   kernel/bpf/trampoline.c:448:15: note: forward declaration of 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |               ^
   2 errors generated.


vim +448 kernel/bpf/trampoline.c

   447	
 > 448	static struct bpf_trampoline_ops trampoline_ops = {
   449		.register_fentry   = register_fentry,
   450		.unregister_fentry = unregister_fentry,
   451		.modify_fentry     = modify_fentry,
   452	};
   453	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jolsa-perf:bpf/tracing_multi_9 1/12] kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops'
@ 2026-01-31  6:15 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-31  6:15 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/tracing_multi_9
head:   4a1d38e3df06743886a06b547187aec8023ef27d
commit: 9ecb3af28fc9354376aac0f9645ff70b637c067b [1/12] bpf: Add struct bpf_trampoline_ops object
config: s390-randconfig-r134-20260131 (https://download.01.org/0day-ci/archive/20260131/202601311425.S91vyn1N-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260131/202601311425.S91vyn1N-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601311425.S91vyn1N-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |                                  ^
   kernel/bpf/trampoline.c:448:15: note: forward declaration of 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |               ^
>> kernel/bpf/trampoline.c:710:12: error: incomplete definition of type 'struct bpf_trampoline_ops'
     710 |                 err = ops->register_fentry(tr, im->image, data);
         |                       ~~~^
   kernel/bpf/trampoline.c:448:15: note: forward declaration of 'struct bpf_trampoline_ops'
     448 | static struct bpf_trampoline_ops trampoline_ops = {
         |               ^
   2 errors generated.


vim +448 kernel/bpf/trampoline.c

   447	
 > 448	static struct bpf_trampoline_ops trampoline_ops = {
   449		.register_fentry   = register_fentry,
   450		.unregister_fentry = unregister_fentry,
   451		.modify_fentry     = modify_fentry,
   452	};
   453	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-31  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-31  5:47 [jolsa-perf:bpf/tracing_multi_9 1/12] kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-01-31  6:15 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.