* [frederic-dynticks:timers/core 10/11] kernel/cpu.c:1404:9: error: implicit declaration of function 'tick_assert_timekeeping_handover'
@ 2023-12-27 11:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-27 11:31 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/core
head: 018d96d27486694a8496e3937ac2f7270442c7c3
commit: a8b61acc0092102926a2a5d8aa6c162d9d5762a3 [10/11] tick: Assume timekeeping is correctly handed over upon last offline idle call
config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20231227/202312271944.Un7vt3Si-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231227/202312271944.Un7vt3Si-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/202312271944.Un7vt3Si-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/sched/isolation.h:6,
from kernel/cpu.c:13:
include/linux/tick.h: In function 'tick_cpu_dying':
include/linux/tick.h:29:1: warning: no return statement in function returning non-void [-Wreturn-type]
29 | static inline int tick_cpu_dying(unsigned int cpu) { }
| ^~~~~~
kernel/cpu.c: In function 'cpuhp_report_idle_dead':
>> kernel/cpu.c:1404:9: error: implicit declaration of function 'tick_assert_timekeeping_handover' [-Werror=implicit-function-declaration]
1404 | tick_assert_timekeeping_handover();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/tick_assert_timekeeping_handover +1404 kernel/cpu.c
1398
1399 void cpuhp_report_idle_dead(void)
1400 {
1401 struct cpuhp_cpu_state *st = this_cpu_ptr(&cpuhp_state);
1402
1403 BUG_ON(st->state != CPUHP_AP_OFFLINE);
> 1404 tick_assert_timekeeping_handover();
1405 rcutree_report_cpu_dead();
1406 st->state = CPUHP_AP_IDLE_DEAD;
1407 /*
1408 * We cannot call complete after rcutree_report_cpu_dead() so we delegate it
1409 * to an online cpu.
1410 */
1411 smp_call_function_single(cpumask_first(cpu_online_mask),
1412 cpuhp_complete_idle_dead, st, 0);
1413 }
1414
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-27 11:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 11:31 [frederic-dynticks:timers/core 10/11] kernel/cpu.c:1404:9: error: implicit declaration of function 'tick_assert_timekeeping_handover' 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.