* [kkdwivedi:fermata 246/348] kernel/bpf/coro.c:342:18: sparse: sparse: symbol 'bpf_coro_xdp_dtor' was not declared. Should it be static?
@ 2026-11-27 15:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-27 15:49 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 15:49 [kkdwivedi:fermata 246/348] kernel/bpf/coro.c:342:18: sparse: sparse: symbol 'bpf_coro_xdp_dtor' was not declared. Should it be static? 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.