public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [jfern:dlserver-feb-fixes 1/9] kernel/sched/fair.c:8535:9: error: call to undeclared function 'pick_task_fair'; ISO C99 and later do not support implicit function declarations
@ 2024-02-14 10:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-14 10:26 UTC (permalink / raw)
  To: Joel Fernandes (Google); +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git dlserver-feb-fixes
head:   a81d7e41130fa46e91bde4dd820f673250934286
commit: 60503246d2cf0d7b91d18325cb21c24c13f1d40d [1/9] sched/core: Add clearing of ->dl_server in put_prev_task_balance()
config: arm-randconfig-001-20240214 (https://download.01.org/0day-ci/archive/20240214/202402141843.yLu0T1sy-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project c08b90c50bcac9f3f563c79491c8dbcbe7c3b574)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402141843.yLu0T1sy-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/202402141843.yLu0T1sy-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/sched/fair.c:8535:9: error: call to undeclared function 'pick_task_fair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    8535 |         return pick_task_fair(dl_se->rq);
         |                ^
>> kernel/sched/fair.c:8535:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct task_struct *' [-Wint-conversion]
    8535 |         return pick_task_fair(dl_se->rq);
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +/pick_task_fair +8535 kernel/sched/fair.c

  8532	
  8533	static struct task_struct *fair_server_pick_task(struct sched_dl_entity *dl_se)
  8534	{
> 8535		return pick_task_fair(dl_se->rq);
  8536	}
  8537	

-- 
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-02-14 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 10:26 [jfern:dlserver-feb-fixes 1/9] kernel/sched/fair.c:8535:9: error: call to undeclared function 'pick_task_fair'; ISO C99 and later do not support implicit function declarations 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