All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:intel-6.6-add-OMR-event-ANBZ51468 11/11] kernel/sched/fair.c:2950:13: warning: 'account_llc_dequeue' defined but not used
Date: Sat, 17 Oct 2026 20:48:23 +0800	[thread overview]
Message-ID: <202610172027.aNLFDjOO-lkp@intel.com> (raw)

tree:   https://gitee.com/anolis/intel-cloud-kernel.git intel-6.6-add-OMR-event-ANBZ51468
head:   2ee4460ef69eb7f1a40741d26df51a3565558ea4
commit: 7edb343971a9922518150aa8d0f5856c170b2a35 [11/11] sched/cache: Track LLC-preferred tasks per runqueue
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20261017/202610172027.aNLFDjOO-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610172027.aNLFDjOO-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/202610172027.aNLFDjOO-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from kernel/sched/fair.c:58:
   kernel/sched/sched.h:1914:54: warning: 'struct cgroup_taskset' declared inside parameter list will not be visible outside of this definition or declaration
    1914 | static inline void sched_core_identity_attach(struct cgroup_taskset *tset) { }
         |                                                      ^~~~~~~~~~~~~~
   kernel/sched/fair.c:11287:69: warning: 'struct lb_env' declared inside parameter list will not be visible outside of this definition or declaration
   11287 | static inline int id_can_migrate_task(struct task_struct *p, struct lb_env *env)
         |                                                                     ^~~~~~
>> kernel/sched/fair.c:2950:13: warning: 'account_llc_dequeue' defined but not used [-Wunused-function]
    2950 | static void account_llc_dequeue(struct rq *rq, struct task_struct *p) {}
         |             ^~~~~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:2948:13: warning: 'account_llc_enqueue' defined but not used [-Wunused-function]
    2948 | static void account_llc_enqueue(struct rq *rq, struct task_struct *p) {}
         |             ^~~~~~~~~~~~~~~~~~~


vim +/account_llc_dequeue +2950 kernel/sched/fair.c

  2947	
> 2948	static void account_llc_enqueue(struct rq *rq, struct task_struct *p) {}
  2949	
> 2950	static void account_llc_dequeue(struct rq *rq, struct task_struct *p) {}
  2951	

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

                 reply	other threads:[~2026-10-17 12:49 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=202610172027.aNLFDjOO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aubrey.li@linux.intel.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.