From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com,
Guenter Roeck <groeck@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chrome-os:chromeos-5.15 19/38] kernel/sched/fair_eevdf.c:663:6: warning: no previous prototype for 'update_entity_lag'
Date: Wed, 14 Feb 2024 20:09:23 +0800 [thread overview]
Message-ID: <202402142003.h32EnN6R-lkp@intel.com> (raw)
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
reply other threads:[~2024-02-14 12:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202402142003.h32EnN6R-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=groeck@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.