All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/core-sched 12/19] kernel/sched/fair.c:10771:6: warning: no previous prototype for 'task_vruntime_update'
@ 2021-03-17  1:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-17  1:17 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core-sched
head:   bd5f71ae62a7c0b435fef9392db13aa2eed28bf9
commit: 1f9adabdf352cc0ce23daa8733a738d5bd1b7546 [12/19] sched/fair: Snapshot the min_vruntime of CPUs on force idle
config: ia64-randconfig-r005-20210316 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.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/peterz/queue.git/commit/?id=1f9adabdf352cc0ce23daa8733a738d5bd1b7546
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/core-sched
        git checkout 1f9adabdf352cc0ce23daa8733a738d5bd1b7546
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.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 >>):

   In file included from arch/ia64/include/asm/pgtable.h:154,
                    from include/linux/pgtable.h:6,
                    from arch/ia64/include/asm/uaccess.h:40,
                    from include/linux/uaccess.h:11,
                    from include/linux/sched/task.h:11,
                    from include/linux/sched/signal.h:9,
                    from include/linux/sched/cputime.h:5,
                    from kernel/sched/sched.h:11,
                    from kernel/sched/fair.c:23:
   arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
   arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
     127 |  unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
         |                                         ^~~~~~~
   kernel/sched/fair.c: At top level:
   kernel/sched/fair.c:5347:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes]
    5347 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
         |      ^~~~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:10771:6: warning: no previous prototype for 'task_vruntime_update' [-Wmissing-prototypes]
   10771 | void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
         |      ^~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11298:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes]
   11298 | void free_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11300:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes]
   11300 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
         |     ^~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11305:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes]
   11305 | void online_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11307:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes]
   11307 | void unregister_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:8381:13: warning: 'update_nohz_stats' defined but not used [-Wunused-function]
    8381 | static bool update_nohz_stats(struct rq *rq)
         |             ^~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


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

 10770	
 10771	void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
 10772	{
 10773		struct sched_entity *se = &p->se;
 10774	
 10775		if (p->sched_class != &fair_sched_class)
 10776			return;
 10777	
 10778		se_fi_update(se, rq->core->core_forceidle_seq, in_fi);
 10779	}
 10780	

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

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

only message in thread, other threads:[~2021-03-17  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17  1:17 [peterz-queue:sched/core-sched 12/19] kernel/sched/fair.c:10771: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.