From: kernel test robot <lkp@intel.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [paulmckrcu:puranjay.2026.06.24a 54/65] kernel/rcu/tree.h:498:12: warning: function 'rcu_preempt_blocked_readers_cgp_ndqs' has internal linkage but is not defined
Date: Thu, 25 Jun 2026 05:37:07 +0800 [thread overview]
Message-ID: <202606250529.ZnQlmwsD-lkp@intel.com> (raw)
tree: https://github.com/paulmckrcu/linux puranjay.2026.06.24a
head: 9f9e05ef4454de1724d65dcc1d45018d0457bd7c
commit: ab15f8d23a687736b674b3b8669a744dd709d97f [54/65] rcu: Make rcu_gp_cleanup() account for ->dqs_blkd_tasks
config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20260625/202606250529.ZnQlmwsD-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project a9b492db3d50683e446cd1a5c9ffaf4e92cb77a7)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260625/202606250529.ZnQlmwsD-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/202606250529.ZnQlmwsD-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/rcu/tree.c:69:
>> kernel/rcu/tree.h:498:12: warning: function 'rcu_preempt_blocked_readers_cgp_ndqs' has internal linkage but is not defined [-Wundefined-internal]
498 | static int rcu_preempt_blocked_readers_cgp_ndqs(struct rcu_node *rnp);
| ^
kernel/rcu/tree.c:2223:20: note: used here
2223 | if (WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp_ndqs(rnp)))
| ^
1 warning generated.
vim +/rcu_preempt_blocked_readers_cgp_ndqs +498 kernel/rcu/tree.h
493
494 /* Forward declarations for tree_plugin.h */
495 static void rcu_bootup_announce(void);
496 static void rcu_qs(void);
497 static int rcu_preempt_blocked_readers_cgp(struct rcu_node *rnp);
> 498 static int rcu_preempt_blocked_readers_cgp_ndqs(struct rcu_node *rnp);
499 static int rcu_print_task_exp_stall(struct rcu_node *rnp);
500 static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp);
501 static void rcu_flavor_sched_clock_irq(int user);
502 static void dump_blkd_tasks(struct rcu_node *rnp, int ncheck);
503 static void rcu_preempt_deferred_qs_init(struct rcu_data *rdp);
504 static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags);
505 static void rcu_preempt_boost_start_gp(struct rcu_node *rnp);
506 static bool rcu_is_callbacks_kthread(struct rcu_data *rdp);
507 static void rcu_cpu_kthread_setup(unsigned int cpu);
508 static void rcu_spawn_one_boost_kthread(struct rcu_node *rnp);
509 static bool rcu_preempt_has_tasks(struct rcu_node *rnp);
510 static bool rcu_preempt_has_tasks_ndqs(struct rcu_node *rnp);
511 static bool rcu_preempt_need_deferred_qs(struct task_struct *t);
512 static void zero_cpu_stall_ticks(struct rcu_data *rdp);
513 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp);
514 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq);
515 static void rcu_init_one_nocb(struct rcu_node *rnp);
516 static bool wake_nocb_gp(struct rcu_data *rdp);
517 static bool rcu_nocb_flush_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
518 unsigned long j, bool lazy);
519 static void call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *head,
520 rcu_callback_t func, unsigned long flags, bool lazy);
521 static void __maybe_unused __call_rcu_nocb_wake(struct rcu_data *rdp, bool was_empty,
522 unsigned long flags);
523 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level);
524 static bool do_nocb_deferred_wakeup(struct rcu_data *rdp);
525 static void rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp);
526 static void rcu_spawn_cpu_nocb_kthread(int cpu);
527 static void show_rcu_nocb_state(struct rcu_data *rdp);
528 static void rcu_nocb_lock(struct rcu_data *rdp);
529 static void rcu_nocb_unlock(struct rcu_data *rdp);
530 static void rcu_nocb_unlock_irqrestore(struct rcu_data *rdp,
531 unsigned long flags);
532 static void rcu_lockdep_assert_cblist_protected(struct rcu_data *rdp);
533 #ifdef CONFIG_RCU_NOCB_CPU
534 static void __init rcu_organize_nocb_kthreads(void);
535
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-24 21:37 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=202606250529.ZnQlmwsD-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paulmck@kernel.org \
/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.