* [peterz-queue:sched/eevdf 7/23] kernel/sched/core.c:1992:13: error: conflicting types for 'dequeue_task'
@ 2024-06-04 11:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-04 11:50 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/eevdf
head: 642ed673fcd170ce20c64fb0e1970259fbb05cba
commit: e62a29c0e8a181ae8f53b5c637e28ec3f5e3703d [7/23] sched: Allow sched_class::dequeue_task() to fail
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20240604/202406041901.CkjG6mzD-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240604/202406041901.CkjG6mzD-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/202406041901.CkjG6mzD-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/core.c:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/arm/include/asm/cacheflush.h:10:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> kernel/sched/core.c:1992:13: error: conflicting types for 'dequeue_task'
1992 | inline bool dequeue_task(struct rq *rq, struct task_struct *p, int flags)
| ^
kernel/sched/sched.h:3561:13: note: previous declaration is here
3561 | extern void dequeue_task(struct rq *rq, struct task_struct *p, int flags);
| ^
1 warning and 1 error generated.
vim +/dequeue_task +1992 kernel/sched/core.c
1988
1989 /*
1990 * Must only return false when DEQUEUE_SLEEP.
1991 */
> 1992 inline bool dequeue_task(struct rq *rq, struct task_struct *p, int flags)
1993 {
1994 if (sched_core_enabled(rq))
1995 sched_core_dequeue(rq, p, flags);
1996
1997 if (!(flags & DEQUEUE_NOCLOCK))
1998 update_rq_clock(rq);
1999
2000 if (!(flags & DEQUEUE_SAVE)) {
2001 sched_info_dequeue(rq, p);
2002 psi_dequeue(p, flags & DEQUEUE_SLEEP);
2003 }
2004
2005 uclamp_rq_dec(rq, p);
2006 return p->sched_class->dequeue_task(rq, p, flags);
2007 }
2008
--
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:[~2024-06-04 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 11:50 [peterz-queue:sched/eevdf 7/23] kernel/sched/core.c:1992:13: error: conflicting types for 'dequeue_task' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox