All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android13-5.10 0/1] kernel/sched/psi.c:150:1: sparse: sparse: symbol 'psi_cgroups_enabled' was not declared. Should it be static?
Date: Thu, 09 Jul 2026 20:39:08 +0800	[thread overview]
Message-ID: <202607092002.bVCdHadA-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android13-5.10
head:   7f11e2633e9568344eec5a044636bf3e8a356393
commit: c7186c2c46d869c1a4c55bd0a1f83373b8a1b93a [0/1] FROMGIT: cgroup: make per-cgroup pressure stall tracking configurable
config: i386-randconfig-061 (https://download.01.org/0day-ci/archive/20260709/202607092002.bVCdHadA-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607092002.bVCdHadA-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/202607092002.bVCdHadA-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/sched/psi.c:150:1: sparse: sparse: symbol 'psi_cgroups_enabled' was not declared. Should it be static?
   kernel/sched/psi.c:1228:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/psi.c:1228:9: sparse:    void [noderef] __rcu *
   kernel/sched/psi.c:1228:9: sparse:    void *
   kernel/sched/psi.c:765:38: sparse: sparse: dereference of noderef expression
   kernel/sched/psi.c: note: in included file:
   kernel/sched/sched.h:1730:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:1730:25: sparse:    struct task_struct [noderef] __rcu *
   kernel/sched/sched.h:1730:25: sparse:    struct task_struct *

vim +/psi_cgroups_enabled +150 kernel/sched/psi.c

   148	
   149	DEFINE_STATIC_KEY_FALSE(psi_disabled);
 > 150	DEFINE_STATIC_KEY_TRUE(psi_cgroups_enabled);
   151	

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

                 reply	other threads:[~2026-07-09 12:40 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=202607092002.bVCdHadA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.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.