All of lore.kernel.org
 help / color / mirror / Atom feed
* [rt-devel:linux-6.10.y-rt-rebase 11/93] kernel/softirq.c:663:40: error: call to undeclared function 'local_pending_timers'; ISO C99 and later do not support implicit function declarations
@ 2024-05-29 21:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-29 21:15 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.10.y-rt-rebase
head:   6d20efa57a896036453f4b061ae22601ef61b494
commit: 9105c9af2449940dbb3b9c2b98f2c9868a384410 [11/93] softirq: Use a dedicated thread for timer wakeups.
config: i386-randconfig-012-20240529 (https://download.01.org/0day-ci/archive/20240530/202405300512.kGipfc2J-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240530/202405300512.kGipfc2J-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/202405300512.kGipfc2J-lkp@intel.com/

Note: the rt-devel/linux-6.10.y-rt-rebase HEAD 6d20efa57a896036453f4b061ae22601ef61b494 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

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


vim +/local_pending_timers +663 kernel/softirq.c

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

-- 
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:[~2024-05-29 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 21:15 [rt-devel:linux-6.10.y-rt-rebase 11/93] kernel/softirq.c:663:40: error: call to undeclared function 'local_pending_timers'; ISO C99 and later do not support implicit function declarations kernel test robot

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.