public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [rt-devel:linux-6.5.y-rt-rebase 21/89] kernel/softirq.c:658:40: error: call to undeclared function 'local_pending_timers'; ISO C99 and later do not support implicit function declarations
Date: Sat, 9 Sep 2023 10:59:12 +0800	[thread overview]
Message-ID: <202309091041.Dj6oDUu8-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-6.5.y-rt-rebase
head:   c6fcf37a5a805382cef13fc285bbbc18b2bf7180
commit: a48154df8446e20778f71023444fb15deeddf607 [21/89] softirq: Use a dedicated thread for timer wakeups.
config: i386-randconfig-005-20230909 (https://download.01.org/0day-ci/archive/20230909/202309091041.Dj6oDUu8-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309091041.Dj6oDUu8-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/202309091041.Dj6oDUu8-lkp@intel.com/

Note: the rt-devel/linux-6.5.y-rt-rebase HEAD c6fcf37a5a805382cef13fc285bbbc18b2bf7180 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> kernel/softirq.c:658:40: error: call to undeclared function 'local_pending_timers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                   if (IS_ENABLED(CONFIG_PREEMPT_RT) && local_pending_timers())
                                                        ^
   1 error generated.


vim +/local_pending_timers +658 kernel/softirq.c

   644	
   645	static inline void __irq_exit_rcu(void)
   646	{
   647	#ifndef __ARCH_IRQ_EXIT_IRQS_DISABLED
   648		local_irq_disable();
   649	#else
   650		lockdep_assert_irqs_disabled();
   651	#endif
   652		account_hardirq_exit(current);
   653		preempt_count_sub(HARDIRQ_OFFSET);
   654		if (!in_interrupt()) {
   655			if (local_softirq_pending())
   656				invoke_softirq();
   657	
 > 658			if (IS_ENABLED(CONFIG_PREEMPT_RT) && local_pending_timers())
   659				wake_timersd();
   660		}
   661	
   662		tick_irq_exit();
   663	}
   664	

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

                 reply	other threads:[~2023-09-09  2:59 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=202309091041.Dj6oDUu8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bigeasy@linutronix.de \
    --cc=llvm@lists.linux.dev \
    --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