public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Wed, 14 Feb 2024 18:26:50 +0800	[thread overview]
Message-ID: <202402141843.yLu0T1sy-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-02-14 10:27 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=202402141843.yLu0T1sy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joel@joelfernandes.org \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox