From: kernel test robot <lkp@intel.com>
To: Amery Hung <amery.hung@bytedance.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Martin KaFai Lau <martin.lau@kernel.org>
Subject: net/sched/bpf_qdisc.c:224:18: sparse: sparse: symbol 'bpf_qdisc_init_prologue' was not declared. Should it be static?
Date: Mon, 19 Jan 2026 10:51:05 +0800 [thread overview]
Message-ID: <202601191053.nOFAvLPG-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e84d960149e71e8d5e4db69775ce31305898ed0c
commit: 7a2dafda950b78611dc441c83d105dfdc7082681 bpf: net_sched: Add a qdisc watchdog timer
date: 9 months ago
config: s390-randconfig-r133-20260115 (https://download.01.org/0day-ci/archive/20260119/202601191053.nOFAvLPG-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260119/202601191053.nOFAvLPG-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/202601191053.nOFAvLPG-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/sched/bpf_qdisc.c:224:18: sparse: sparse: symbol 'bpf_qdisc_init_prologue' was not declared. Should it be static?
>> net/sched/bpf_qdisc.c:234:18: sparse: sparse: symbol 'bpf_qdisc_reset_destroy_epilogue' was not declared. Should it be static?
vim +/bpf_qdisc_init_prologue +224 net/sched/bpf_qdisc.c
222
223 /* bpf_qdisc_init_prologue - Hidden kfunc called in prologue of .init. */
> 224 __bpf_kfunc void bpf_qdisc_init_prologue(struct Qdisc *sch)
225 {
226 struct bpf_sched_data *q = qdisc_priv(sch);
227
228 qdisc_watchdog_init(&q->watchdog, sch);
229 }
230
231 /* bpf_qdisc_reset_destroy_epilogue - Hidden kfunc called in epilogue of .reset
232 * and .destroy
233 */
> 234 __bpf_kfunc void bpf_qdisc_reset_destroy_epilogue(struct Qdisc *sch)
235 {
236 struct bpf_sched_data *q = qdisc_priv(sch);
237
238 qdisc_watchdog_cancel(&q->watchdog);
239 }
240
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-01-19 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 2:51 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-12 0:02 net/sched/bpf_qdisc.c:224:18: sparse: sparse: symbol 'bpf_qdisc_init_prologue' was not declared. Should it be static? kernel test robot
2025-06-27 19:10 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=202601191053.nOFAvLPG-lkp@intel.com \
--to=lkp@intel.com \
--cc=amery.hung@bytedance.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox