All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.15 19/38] kernel/sched/fair_eevdf.c:663:6: warning: no previous prototype for 'update_entity_lag'
@ 2024-02-14 12:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-14 12:09 UTC (permalink / raw)
  To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head:   efd81cb7bd74278826232f0556137a71fb757350
commit: a115e5d67e8707fd4f6ac76edf1fb6c719dbc72f [19/38] BACKPORT: sched/fair: Add lag based placement
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240214/202402142003.h32EnN6R-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402142003.h32EnN6R-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402142003.h32EnN6R-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/sched/fair_eevdf.c:663:6: warning: no previous prototype for 'update_entity_lag' [-Wmissing-prototypes]
     663 | void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
         |      ^~~~~~~~~~~~~~~~~
   kernel/sched/fair_eevdf.c: In function 'update_curr_se':
   kernel/sched/fair_eevdf.c:971:42: warning: variable 'stats' set but not used [-Wunused-but-set-variable]
     971 |                 struct sched_statistics *stats;
         |                                          ^~~~~
   kernel/sched/fair_eevdf.c: In function 'update_stats_wait_start':
   kernel/sched/fair_eevdf.c:1038:34: warning: variable 'stats' set but not used [-Wunused-but-set-variable]
    1038 |         struct sched_statistics *stats;
         |                                  ^~~~~
   kernel/sched/fair_eevdf.c: In function 'update_stats_wait_end':
   kernel/sched/fair_eevdf.c:1058:34: warning: variable 'stats' set but not used [-Wunused-but-set-variable]
    1058 |         struct sched_statistics *stats;
         |                                  ^~~~~
   kernel/sched/fair_eevdf.c: In function 'update_stats_enqueue_sleeper':
   kernel/sched/fair_eevdf.c:1102:34: warning: variable 'stats' set but not used [-Wunused-but-set-variable]
    1102 |         struct sched_statistics *stats;
         |                                  ^~~~~
   kernel/sched/fair_eevdf.c: In function 'set_next_entity':
   kernel/sched/fair_eevdf.c:4936:42: warning: variable 'stats' set but not used [-Wunused-but-set-variable]
    4936 |                 struct sched_statistics *stats;
         |                                          ^~~~~


vim +/update_entity_lag +663 kernel/sched/fair_eevdf.c

   659	
   660	/*
   661	 * lag_i = S - s_i = w_i * (V - v_i)
   662	 */
 > 663	void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
   664	{
   665		SCHED_WARN_ON(!se->on_rq);
   666		se->vlag = avg_vruntime(cfs_rq) - se->vruntime;
   667	}
   668	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2024-02-14 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 12:09 [chrome-os:chromeos-5.15 19/38] kernel/sched/fair_eevdf.c:663:6: warning: no previous prototype for 'update_entity_lag' 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.