All of lore.kernel.org
 help / color / mirror / Atom feed
* [kkdwivedi:fermata 17/21] kernel/bpf/helpers.c:2407:18: sparse: sparse: symbol 'bpf_coro_frame_free' was not declared. Should it be static?
@ 2026-08-07 22:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-07 22:43 UTC (permalink / raw)
  To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all

tree:   https://github.com/kkdwivedi/linux fermata
head:   0ebfd4123c6b1719f428de91a4e4eeca34f557f6
commit: d291ea9d36a15dcf8e45bfe20d47b2bee5c59963 [17/21] bpf: Add PTR_TO_CORO_FRAME runtime and verifier support
config: csky-randconfig-r113-20260807 (https://download.01.org/0day-ci/archive/20260808/202608080601.EQNiPZ0Z-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260808/202608080601.EQNiPZ0Z-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/202608080601.EQNiPZ0Z-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/bpf/helpers.c:1228:21: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected unsigned long long ( *[usertype] callback_fn )( ... ) @@     got void [noderef] __rcu * @@
   kernel/bpf/helpers.c:1228:21: sparse:     expected unsigned long long ( *[usertype] callback_fn )( ... )
   kernel/bpf/helpers.c:1228:21: sparse:     got void [noderef] __rcu *
>> kernel/bpf/helpers.c:2407:18: sparse: sparse: symbol 'bpf_coro_frame_free' was not declared. Should it be static?
   kernel/bpf/helpers.c:2865:18: sparse: sparse: symbol 'bpf_task_release_dtor' was not declared. Should it be static?
   kernel/bpf/helpers.c:2895:18: sparse: sparse: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static?

vim +/bpf_coro_frame_free +2407 kernel/bpf/helpers.c

  2406	
> 2407	__bpf_kfunc void bpf_coro_frame_free(void *p)
  2408	{
  2409		kfree_nolock(p);
  2410	}
  2411	

--
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-08-07 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07 22:43 [kkdwivedi:fermata 17/21] kernel/bpf/helpers.c:2407:18: sparse: sparse: symbol 'bpf_coro_frame_free' 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.