All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:coresched 14/24] kernel/sched/fair.c:10751:6: warning: no previous prototype for 'task_vruntime_update'
@ 2021-01-16  4:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-16  4:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2197 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git coresched
head:   4dbdf2010d3452bbc7f7c64a71f5ffdf07282334
commit: d462fdee392d1ff2498aa88b5d611066dcb0e35c [14/24] sched: Improve snapshotting of min_vruntime for CGroups
config: i386-randconfig-r026-20210115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?id=d462fdee392d1ff2498aa88b5d611066dcb0e35c
        git remote add jfern https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git
        git fetch --no-tags jfern coresched
        git checkout d462fdee392d1ff2498aa88b5d611066dcb0e35c
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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: In function 'se_fi_update':
   kernel/sched/fair.c:10736:12: warning: unused variable 'new' [-Wunused-variable]
   10736 |  long old, new;
         |            ^~~
   kernel/sched/fair.c:10736:7: warning: unused variable 'old' [-Wunused-variable]
   10736 |  long old, new;
         |       ^~~
   kernel/sched/fair.c:10735:7: warning: unused variable 'root' [-Wunused-variable]
   10735 |  bool root = true;
         |       ^~~~
   kernel/sched/fair.c: At top level:
>> kernel/sched/fair.c:10751:6: warning: no previous prototype for 'task_vruntime_update' [-Wmissing-prototypes]
   10751 | void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
         |      ^~~~~~~~~~~~~~~~~~~~


vim +/task_vruntime_update +10751 kernel/sched/fair.c

 10750	
 10751	void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
 10752	{
 10753		struct sched_entity *se = &p->se;
 10754	
 10755		if (p->sched_class != &fair_sched_class)
 10756			return;
 10757	
 10758		se_fi_update(se, rq->core->core_forceidle_seq, in_fi);
 10759	}
 10760	

---
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: 35175 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-16  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16  4:16 [jfern:coresched 14/24] kernel/sched/fair.c:10751:6: warning: no previous prototype for 'task_vruntime_update' kernel test robot

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.