All of lore.kernel.org
 help / color / mirror / Atom feed
* [rt-devel:linux-6.3.y-rt-rebase 6/47] kernel/softirq.c:676:54: error: implicit declaration of function 'local_pending_timers'
@ 2023-03-09 18:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-09 18:25 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-6.3.y-rt-rebase
head:   c0ca8b79d21d0c9a1ac7ed0ebebb5588804ba825
commit: 04fad7c63642399b29c7699bbd9f249560228a3b [6/47] softirq: Use a dedicated thread for timer wakeups.
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230310/202303100213.epzoP4c8-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=04fad7c63642399b29c7699bbd9f249560228a3b
        git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
        git fetch --no-tags rt-devel linux-6.3.y-rt-rebase
        git checkout 04fad7c63642399b29c7699bbd9f249560228a3b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303100213.epzoP4c8-lkp@intel.com/

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

All errors (new ones prefixed by >>):

   kernel/softirq.c: In function '__irq_exit_rcu':
>> kernel/softirq.c:676:54: error: implicit declaration of function 'local_pending_timers' [-Werror=implicit-function-declaration]
     676 |                 if (IS_ENABLED(CONFIG_PREEMPT_RT) && local_pending_timers())
         |                                                      ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/local_pending_timers +676 kernel/softirq.c

   662	
   663	static inline void __irq_exit_rcu(void)
   664	{
   665	#ifndef __ARCH_IRQ_EXIT_IRQS_DISABLED
   666		local_irq_disable();
   667	#else
   668		lockdep_assert_irqs_disabled();
   669	#endif
   670		account_hardirq_exit(current);
   671		preempt_count_sub(HARDIRQ_OFFSET);
   672		if (!in_interrupt()) {
   673			if (local_softirq_pending())
   674				invoke_softirq();
   675	
 > 676			if (IS_ENABLED(CONFIG_PREEMPT_RT) && local_pending_timers())
   677				wake_timersd();
   678		}
   679	
   680		tick_irq_exit();
   681	}
   682	

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

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

only message in thread, other threads:[~2023-03-09 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 18:25 [rt-devel:linux-6.3.y-rt-rebase 6/47] kernel/softirq.c:676:54: error: implicit declaration of function 'local_pending_timers' 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.