public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [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
@ 2023-09-09  2:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-09  2:59 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-09  2:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-09  2:59 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox