[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311300441.Pn3mlj4p-lkp@intel.com>
Date: Thu, 30 Nov 2023 07:14:49 +0800
From: kernel test robot <lkp@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: kernel/time/hrtimer.c:1876:20: error: unused function
'__hrtimer_peek_ahead_timers'
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@...el.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@...utronix.de>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists