All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [frederic-dynticks:timers/core 10/11] kernel/cpu.c:1404:9: error: implicit declaration of function 'tick_assert_timekeeping_handover'
Date: Wed, 27 Dec 2023 19:31:07 +0800	[thread overview]
Message-ID: <202312271944.Un7vt3Si-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-27 11:31 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=202312271944.Un7vt3Si-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=frederic@kernel.org \
    --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.