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: oe-kbuild-all@lists.linux.dev
Subject: [rt-devel:linux-6.3.y-rt-rebase 6/47] kernel/softirq.c:676:54: error: implicit declaration of function 'local_pending_timers'
Date: Fri, 10 Mar 2023 02:25:08 +0800	[thread overview]
Message-ID: <202303100213.epzoP4c8-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-03-09 18:25 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=202303100213.epzoP4c8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bigeasy@linutronix.de \
    --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.