All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:fermata 24/25] kernel/bpf/helpers.c:2417:18: sparse: sparse: symbol 'bpf_coro_suspend' was not declared. Should it be static?
Date: Tue, 08 Sep 2026 15:40:06 +0800	[thread overview]
Message-ID: <202609081543.8TDIBK0I-lkp@intel.com> (raw)

tree:   https://github.com/kkdwivedi/linux fermata
head:   0de8fbf4ea7faa920d77adc60e4388798226d425
commit: ad66b0bda534ef2d0d681a5675c32fc8e5ec140e [24/25] bpf: Add no-op bpf_coro_suspend() kfunc
config: openrisc-randconfig-r122-20260908 (https://download.01.org/0day-ci/archive/20260908/202609081543.8TDIBK0I-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260908/202609081543.8TDIBK0I-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/202609081543.8TDIBK0I-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:2417:18: sparse: sparse: symbol 'bpf_coro_suspend' was not declared. Should it be static?
   kernel/bpf/helpers.c:2874:18: sparse: sparse: symbol 'bpf_task_release_dtor' was not declared. Should it be static?

vim +/bpf_coro_suspend +2417 kernel/bpf/helpers.c

  2416	
> 2417	__bpf_kfunc void bpf_coro_suspend(void *p__ign)
  2418	{
  2419	}
  2420	

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

                 reply	other threads:[~2026-09-08  7:40 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=202609081543.8TDIBK0I-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.