From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:fermata 246/348] kernel/bpf/coro.c:342:18: sparse: sparse: symbol 'bpf_coro_xdp_dtor' was not declared. Should it be static?
Date: Fri, 27 Nov 2026 16:49:11 +0100 [thread overview]
Message-ID: <20261127164453.3LMkeolJ-lkp@intel.com> (raw)
tree: https://github.com/kkdwivedi/linux fermata
head: 1d98f92a7b37670e804415b13c1d5d039706d4ce
commit: 98b9344cc99d4ef7244d6626ed4a8c92ce5a78b5 [246/348] bpf: Let a program park a coroutine frame and call its continuation
config: riscv-randconfig-r2303-20261127 (https://download.01.org/0day-ci/archive/20261127/20261127164453.3LMkeolJ-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261127/20261127164453.3LMkeolJ-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/20261127164453.3LMkeolJ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/bpf/coro.c:342:18: sparse: sparse: symbol 'bpf_coro_xdp_dtor' was not declared. Should it be static?
>> kernel/bpf/coro.c:348:18: sparse: sparse: symbol 'bpf_coro_syscall_dtor' was not declared. Should it be static?
vim +/bpf_coro_xdp_dtor +342 kernel/bpf/coro.c
340
341 /* The destructors of kptr fields that hold a parked frame */
> 342 __bpf_kfunc void bpf_coro_xdp_dtor(void *coro)
343 {
344 bpf_coro_drop(coro, this_cpu_ptr(&bpf_coro_drops_xdp));
345 }
346 CFI_NOSEAL(bpf_coro_xdp_dtor);
347
> 348 __bpf_kfunc void bpf_coro_syscall_dtor(void *coro)
349 {
350 bpf_coro_drop(coro, this_cpu_ptr(&bpf_coro_drops_syscall));
351 }
352 CFI_NOSEAL(bpf_coro_syscall_dtor);
353
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-27 15:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261127164453.3LMkeolJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=memxor@gmail.com \
--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.