public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: kernel/time/hrtimer.c:1876:20: error: unused function '__hrtimer_peek_ahead_timers'
Date: Thu, 30 Nov 2023 07:14:49 +0800	[thread overview]
Message-ID: <202311300441.Pn3mlj4p-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3b47bc037bd44f142ac09848e8d3ecccc726be99
commit: 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94 hrtimers: Push pending hrtimers away from outgoing CPU earlier
date:   3 weeks ago
config: x86_64-sof-customedconfig-fuzz-defconfig (https://download.01.org/0day-ci/archive/20231130/202311300441.Pn3mlj4p-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/20231130/202311300441.Pn3mlj4p-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/202311300441.Pn3mlj4p-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/time/hrtimer.c:147:20: error: unused function 'is_migration_base' [-Werror,-Wunused-function]
   static inline bool is_migration_base(struct hrtimer_clock_base *base)
                      ^
>> kernel/time/hrtimer.c:1876:20: error: unused function '__hrtimer_peek_ahead_timers' [-Werror,-Wunused-function]
   static inline void __hrtimer_peek_ahead_timers(void)
                      ^
   2 errors generated.


vim +/__hrtimer_peek_ahead_timers +1876 kernel/time/hrtimer.c

54cdfdb47f73b5 kernel/hrtimer.c      Thomas Gleixner   2007-02-16  1874  
016da20148a169 kernel/time/hrtimer.c Stephen Boyd      2017-03-16  1875  /* called with interrupts disabled */
c6eb3f70d44828 kernel/time/hrtimer.c Thomas Gleixner   2015-04-14 @1876  static inline void __hrtimer_peek_ahead_timers(void)
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1877  {
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1878  	struct tick_device *td;
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1879  
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1880  	if (!hrtimer_hres_active())
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1881  		return;
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1882  
22127e93c587af kernel/time/hrtimer.c Christoph Lameter 2014-08-17  1883  	td = this_cpu_ptr(&tick_cpu_device);
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1884  	if (td && td->evtdev)
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1885  		hrtimer_interrupt(td->evtdev);
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1886  }
8bdec955b0da2f kernel/hrtimer.c      Thomas Gleixner   2009-01-05  1887  

:::::: The code at line 1876 was first introduced by commit
:::::: c6eb3f70d4482806dc2d3e1e3c7736f497b1d418 hrtimer: Get rid of hrtimer softirq

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

                 reply	other threads:[~2023-11-29 23:15 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=202311300441.Pn3mlj4p-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox