From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jolsa-perf:bpf/tracing_multi_9 1/12] kernel/bpf/trampoline.c:448:34: error: variable has incomplete type 'struct bpf_trampoline_ops'
Date: Sat, 31 Jan 2026 14:15:49 +0800 [thread overview]
Message-ID: <202601311425.S91vyn1N-lkp@intel.com> (raw)
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
next reply other threads:[~2026-01-31 6:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-31 6:15 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202601311425.S91vyn1N-lkp@intel.com \
--to=lkp@intel.com \
--cc=jolsa@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.