From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: kernel/sched/fair.c:10823:6: warning: no previous prototype for 'task_vruntime_update'
Date: Tue, 09 Nov 2021 23:37:36 +0800 [thread overview]
Message-ID: <202111092328.tdfPXFc7-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d2f38a3c6507b2520101f9a3807ed98f1bdc545a
commit: c6047c2e3af68dae23ad884249e0d42ff28d2d1b sched/fair: Snapshot the min_vruntime of CPUs on force idle
date: 6 months ago
config: arm64-randconfig-r012-20210928 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c6047c2e3af68dae23ad884249e0d42ff28d2d1b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c6047c2e3af68dae23ad884249e0d42ff28d2d1b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
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/fair.c:5359:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes]
5359 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:10823:6: warning: no previous prototype for 'task_vruntime_update' [-Wmissing-prototypes]
10823 | void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11356:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes]
11356 | void free_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11358:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes]
11358 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11363:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes]
11363 | void online_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11365:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes]
11365 | void unregister_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/task_vruntime_update +10823 kernel/sched/fair.c
10822
10823 void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
10824 {
10825 struct sched_entity *se = &p->se;
10826
10827 if (p->sched_class != &fair_sched_class)
10828 return;
10829
10830 se_fi_update(se, rq->core->core_forceidle_seq, in_fi);
10831 }
10832
---
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: 38572 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: kernel/sched/fair.c:10823:6: warning: no previous prototype for 'task_vruntime_update'
Date: Tue, 9 Nov 2021 23:37:36 +0800 [thread overview]
Message-ID: <202111092328.tdfPXFc7-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2996 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d2f38a3c6507b2520101f9a3807ed98f1bdc545a
commit: c6047c2e3af68dae23ad884249e0d42ff28d2d1b sched/fair: Snapshot the min_vruntime of CPUs on force idle
date: 6 months ago
config: arm64-randconfig-r012-20210928 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c6047c2e3af68dae23ad884249e0d42ff28d2d1b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c6047c2e3af68dae23ad884249e0d42ff28d2d1b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
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/fair.c:5359:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes]
5359 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:10823:6: warning: no previous prototype for 'task_vruntime_update' [-Wmissing-prototypes]
10823 | void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11356:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes]
11356 | void free_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11358:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes]
11358 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11363:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes]
11363 | void online_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11365:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes]
11365 | void unregister_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/task_vruntime_update +10823 kernel/sched/fair.c
10822
10823 void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
10824 {
10825 struct sched_entity *se = &p->se;
10826
10827 if (p->sched_class != &fair_sched_class)
10828 return;
10829
10830 se_fi_update(se, rq->core->core_forceidle_seq, in_fi);
10831 }
10832
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38572 bytes --]
next reply other threads:[~2021-11-09 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 15:37 kernel test robot [this message]
2021-11-09 15:37 ` kernel/sched/fair.c:10823:6: warning: no previous prototype for 'task_vruntime_update' kernel test robot
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=202111092328.tdfPXFc7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.