From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1785/2372] kernel/sched/core.c:5331:20: warning: no previous prototype for 'task_sched_runtime'
Date: Sat, 8 Jan 2022 12:35:45 +0800 [thread overview]
Message-ID: <202201081252.k0vPJH1N-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 67f8f45b4d0cf00f8e53fc1c2b50c67608ede063
commit: b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d [1785/2372] headers/deps: Reorganize, clean up and optimize kernel/sched/sched.h dependencies
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220108/202201081252.k0vPJH1N-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> kernel/sched/core.c:5331:20: warning: no previous prototype for 'task_sched_runtime' [-Wmissing-prototypes]
5331 | unsigned long long task_sched_runtime(struct task_struct *p)
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/core.c:9450:13: warning: no previous prototype for 'sched_init_smp' [-Wmissing-prototypes]
9450 | void __init sched_init_smp(void)
| ^~~~~~~~~~~~~~
kernel/sched/core.c:9480:13: warning: no previous prototype for 'per_task_init' [-Wmissing-prototypes]
9480 | void __init per_task_init(void)
| ^~~~~~~~~~~~~
>> kernel/sched/core.c:9489:13: warning: no previous prototype for 'sched_init' [-Wmissing-prototypes]
9489 | void __init sched_init(void)
| ^~~~~~~~~~
vim +/task_sched_runtime +5331 kernel/sched/core.c
6075620b0590ea kernel/sched/core.c Giovanni Gherdovich 2016-08-05 5325
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5326 /*
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5327 * Return accounted runtime for the task.
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5328 * In case the task is currently running, return the runtime plus current's
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5329 * pending runtime that have not been accounted yet.
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5330 */
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 @5331 unsigned long long task_sched_runtime(struct task_struct *p)
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5332 {
eb58075149b7f0 kernel/sched/core.c Peter Zijlstra 2015-07-31 5333 struct rq_flags rf;
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5334 struct rq *rq;
6e998916dfe327 kernel/sched/core.c Stanislaw Gruszka 2014-11-12 5335 u64 ns;
c5f8d99585d7b5 kernel/sched.c Hidetoshi Seto 2009-03-31 5336
:::::: The code at line 5331 was first introduced by commit
:::::: c5f8d99585d7b5b7e857fabf8aefd0174903a98c posixtimers, sched: Fix posix clock monotonicity
:::::: TO: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-08 4:54 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=202201081252.k0vPJH1N-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
/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
all inboxes | Powered by JetHome®