All of lore.kernel.org
 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.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
Date: Thu, 30 May 2024 05:15:56 +0800	[thread overview]
Message-ID: <202405300512.kGipfc2J-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-05-29 21:16 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=202405300512.kGipfc2J-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 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.