All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:x86/entry 3/133] kernel/sched/core.c:322:2: error: implicit declaration of function 'rq_csd_init'; did you mean 'rcu_init'?
@ 2020-04-27  9:55 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-27  9:55 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2018 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/entry
head:   4e58a343c5d3ccf1df333ced5939e11d457067d6
commit: 8f212dceb0071156ed3c43304e6be8c060413527 [3/133] sched: Clean up scheduler_ipi()
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 8f212dceb0071156ed3c43304e6be8c060413527
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   kernel/sched/core.c: In function 'hrtick_rq_init':
>> kernel/sched/core.c:322:2: error: implicit declaration of function 'rq_csd_init'; did you mean 'rcu_init'? [-Werror=implicit-function-declaration]
     rq_csd_init(rq, &rq->hrtick_csd, __hrtick_start);
     ^~~~~~~~~~~
     rcu_init
   kernel/sched/core.c: At top level:
>> kernel/sched/core.c:6530:1: warning: conflicting types for 'rq_csd_init'
    rq_csd_init(struct rq *rq, call_single_data_t *csd, smp_call_func_t func)
    ^~~~~~~~~~~
   kernel/sched/core.c:6530:1: error: static declaration of 'rq_csd_init' follows non-static declaration
   kernel/sched/core.c:322:2: note: previous implicit declaration of 'rq_csd_init' was here
     rq_csd_init(rq, &rq->hrtick_csd, __hrtick_start);
     ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +322 kernel/sched/core.c

   319	
   320	static void hrtick_rq_init(struct rq *rq)
   321	{
 > 322		rq_csd_init(rq, &rq->hrtick_csd, __hrtick_start);
   323	
   324		hrtimer_init(&rq->hrtick_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD);
   325		rq->hrtick_timer.function = hrtick;
   326	}
   327	#else	/* CONFIG_SCHED_HRTICK */
   328	static inline void hrtick_clear(struct rq *rq)
   329	{
   330	}
   331	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73049 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-27  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  9:55 [tglx-devel:x86/entry 3/133] kernel/sched/core.c:322:2: error: implicit declaration of function 'rq_csd_init'; did you mean 'rcu_init'? kbuild 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.