All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen-kernel-zen-kernel:5.14/cacule 1/2] kernel/sched/fair.c:11865:24: warning: variable 'cfs_rqb' set but not used
@ 2021-09-14 11:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-14 11:06 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/zen-kernel/zen-kernel 5.14/cacule
head:   4430be30ae5bf7d608eb292aa8680a2dc82ca847
commit: 9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8 [1/2] CacULE 5.14
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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://github.com/zen-kernel/zen-kernel/commit/9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8
        git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen-kernel-zen-kernel 5.14/cacule
        git checkout 9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64 

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:11849:6: warning: no previous prototype for 'task_vruntime_update' [-Wmissing-prototypes]
   11849 | void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
         |      ^~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c: In function 'cfs_prio_less':
>> kernel/sched/fair.c:11865:24: warning: variable 'cfs_rqb' set but not used [-Wunused-but-set-variable]
   11865 |         struct cfs_rq *cfs_rqb;
         |                        ^~~~~~~
>> kernel/sched/fair.c:11864:24: warning: variable 'cfs_rqa' set but not used [-Wunused-but-set-variable]
   11864 |         struct cfs_rq *cfs_rqa;
         |                        ^~~~~~~


vim +/cfs_rqb +11865 kernel/sched/fair.c

c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11858) 
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11859) bool cfs_prio_less(struct task_struct *a, struct task_struct *b, bool in_fi)
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11860) {
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11861) 	struct rq *rq = task_rq(a);
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11862) 	struct sched_entity *sea = &a->se;
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11863) 	struct sched_entity *seb = &b->se;
c6047c2e3af68d Joel Fernandes (Google  2020-11-17 @11864) 	struct cfs_rq *cfs_rqa;
c6047c2e3af68d Joel Fernandes (Google  2020-11-17 @11865) 	struct cfs_rq *cfs_rqb;
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11866) 	s64 delta;
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11867) 
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11868) 	SCHED_WARN_ON(task_rq(b)->core != rq->core);
c6047c2e3af68d Joel Fernandes (Google  2020-11-17  11869) 

:::::: The code at line 11865 was first introduced by commit
:::::: c6047c2e3af68dae23ad884249e0d42ff28d2d1b sched/fair: Snapshot the min_vruntime of CPUs on force idle

:::::: TO: Joel Fernandes (Google) <joel@joelfernandes.org>
:::::: CC: Peter Zijlstra <peterz@infradead.org>

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

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

only message in thread, other threads:[~2021-09-14 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 11:06 [zen-kernel-zen-kernel:5.14/cacule 1/2] kernel/sched/fair.c:11865:24: warning: variable 'cfs_rqb' set but not used 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.